summaryrefslogtreecommitdiff
path: root/storage/connect/tabmysql.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2014-04-27 19:18:20 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2014-04-27 19:18:20 +0200
commitf3af6da9765a4541d63de91e8a848d3c3116e957 (patch)
tree7d725fe7e7ac037890850614ae59c331769aa0aa /storage/connect/tabmysql.h
parent24369d217578bfc8140d0617169b6ad527e61e78 (diff)
downloadmariadb-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.h5
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;}