diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2014-04-27 19:18:20 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2014-04-27 19:18:20 +0200 |
commit | f3af6da9765a4541d63de91e8a848d3c3116e957 (patch) | |
tree | 7d725fe7e7ac037890850614ae59c331769aa0aa /storage/connect/tabmysql.h | |
parent | 24369d217578bfc8140d0617169b6ad527e61e78 (diff) | |
download | mariadb-git-f3af6da9765a4541d63de91e8a848d3c3116e957.tar.gz |
- Enable MYSQL tables to USE result instead of STORE result.
See the issue reported in MDEV-6142.
modified:
storage/connect/myconn.cpp
storage/connect/myconn.h
storage/connect/tabmysql.cpp
storage/connect/tabmysql.h
Diffstat (limited to 'storage/connect/tabmysql.h')
-rw-r--r-- | storage/connect/tabmysql.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/connect/tabmysql.h b/storage/connect/tabmysql.h index 0387fcc7da9..96991fb14c1 100644 --- a/storage/connect/tabmysql.h +++ b/storage/connect/tabmysql.h @@ -58,10 +58,11 @@ class MYSQLDEF : public TABDEF {/* Logical table description */ int Portnumber; /* MySQL port number (0 = default) */ int Mxr; /* Maxerr for an Exec table */ int Quoted; /* Identifier quoting level */ - bool Isview; /* TRUE if this table is a MySQL view */ + bool Isview; /* true if this table is a MySQL view */ bool Bind; /* Use prepared statement on insert */ bool Delayed; /* Delayed insert */ bool Xsrc; /* Execution type */ + bool Huge; /* True for big table */ }; // end of MYSQLDEF /***********************************************************************/ @@ -84,7 +85,7 @@ class TDBMYSQL : public TDBASE { virtual int GetRecpos(void) {return N;} virtual int GetProgMax(PGLOBAL g); virtual void ResetDB(void) {N = 0;} - virtual int RowNumber(PGLOBAL g, bool b = FALSE); + virtual int RowNumber(PGLOBAL g, bool b = false); virtual bool IsView(void) {return Isview;} virtual PSZ GetServer(void) {return Server;} void SetDatabase(LPCSTR db) {Database = (char*)db;} |