mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
new error for unsupported command in PS
fixed IN subselect with basic constant left expression SQLCOM_CREATE_TABLE, SQLCOM_UPDATE_MULTI, SQLCOM_REPLACE_SELECT, SQLCOM_INSERT_SELECT, QLCOM_DELETE_MULTI fixed to be compatible with PS (BUG#3398, BUG#3406) fixed multiupdate privelege check (BUG#3408) fixed multiupdate tables check (BUG#3411) unchecked commands now is rejected by PS protocol to avoid serever crash fixed cleunup procedure to be compatible sith DO/SET (BUG#3393)
This commit is contained in:
@@ -688,6 +688,8 @@ public:
|
||||
virtual ~set_var_base() {}
|
||||
virtual int check(THD *thd)=0; /* To check privileges etc. */
|
||||
virtual int update(THD *thd)=0; /* To set the value */
|
||||
/* light check for PS */
|
||||
virtual int light_check(THD *thd) { return check(thd); }
|
||||
};
|
||||
|
||||
|
||||
@@ -728,6 +730,7 @@ public:
|
||||
}
|
||||
int check(THD *thd);
|
||||
int update(THD *thd);
|
||||
int light_check(THD *thd);
|
||||
};
|
||||
|
||||
|
||||
@@ -742,6 +745,7 @@ public:
|
||||
{}
|
||||
int check(THD *thd);
|
||||
int update(THD *thd);
|
||||
int light_check(THD *thd);
|
||||
};
|
||||
|
||||
/* For SET PASSWORD */
|
||||
|
||||
Reference in New Issue
Block a user