#include <srs_fetcher.h>
◆ Srs_fetcher()
Srs_fetcher::Srs_fetcher |
( |
THD * |
thd | ) |
|
|
inline |
◆ acquire()
Acquire an SRS from the data dictionary.
Take a shared read lock on the SRID.
- Parameters
-
[in] | srid | Spatial reference system ID |
[out] | srs | The spatial reference system |
- Return values
-
false | Success. |
true | Locking failed. An error has already been flagged. |
◆ acquire_for_modification()
Acquire an SRS from the data dictionary with the intent of modifying it.
Take an exclusive lock on the SRID.
- Parameters
-
[in] | srid | Spatial reference system ID |
[out] | srs | The spatial reference system |
- Return values
-
false | Success. |
true | Locking failed. An error has already been flagged. |
◆ lock()
Take an MDL lock on an SRID.
- Parameters
-
[in] | srid | Spatial reference system ID |
[in] | lock_type | Type of lock to take |
- Return values
-
false | Success. |
true | Locking failed. An error has already been flagged. |
◆ srs_exists()
bool Srs_fetcher::srs_exists |
( |
THD * |
thd, |
|
|
gis::srid_t |
srid, |
|
|
bool * |
exists |
|
) |
| |
|
static |
◆ m_thd
The documentation for this class was generated from the following files: