diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-08-12 21:51:56 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-08-12 21:51:56 +0200 |
commit | bce59293fb75d4a923ca42ff9ea38ef656a34765 (patch) | |
tree | 6d65c4b3314679901292694ad02b7ea062138df1 /storage/connect/plgdbsem.h | |
parent | 8b3e07e15b0af753cbefb635e2e8980427051de2 (diff) | |
download | mariadb-git-bce59293fb75d4a923ca42ff9ea38ef656a34765.tar.gz |
-Fix MDEV-4878. Table locking is now supported.
modified:
storage/connect/ha_connect.cc
storage/connect/ha_connect.h
storage/connect/plgdbsem.h
- Fiw a bug making records_in_range sometimes return a negative
value.
modified:
storage/connect/xindex.cpp
Diffstat (limited to 'storage/connect/plgdbsem.h')
-rw-r--r-- | storage/connect/plgdbsem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/connect/plgdbsem.h b/storage/connect/plgdbsem.h index 5e1a0d4c905..11fe5694bc6 100644 --- a/storage/connect/plgdbsem.h +++ b/storage/connect/plgdbsem.h @@ -151,7 +151,8 @@ enum ALGMOD {AMOD_AUTO = 0, /* PLG chooses best algorithm */ #define NAM_LEN 128 #endif // !0 -enum MODE {MODE_ANY = 0, /* Unspecified mode */ +enum MODE {MODE_ERROR = -1, /* Invalid mode */ + MODE_ANY = 0, /* Unspecified mode */ MODE_READ = 10, /* Input/Output mode */ MODE_WRITE = 20, /* Input/Output mode */ MODE_UPDATE = 30, /* Input/Output mode */ |