mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix the tree: plugin-related changes, necessary for
CSV storage engine to be statically compiled. Derived from antony's patch.
This commit is contained in:
@ -1006,6 +1006,8 @@ typedef struct st_handler_buffer
|
||||
byte *end_of_used_area; /* End of area that was used by handler */
|
||||
} HANDLER_BUFFER;
|
||||
|
||||
typedef struct system_status_var SSV;
|
||||
|
||||
class handler :public Sql_alloc
|
||||
{
|
||||
#ifdef WITH_PARTITION_STORAGE_ENGINE
|
||||
@ -1027,6 +1029,9 @@ class handler :public Sql_alloc
|
||||
virtual int rnd_init(bool scan) =0;
|
||||
virtual int rnd_end() { return 0; }
|
||||
|
||||
void ha_statistic_increment(ulong SSV::*offset) const;
|
||||
|
||||
|
||||
private:
|
||||
virtual int reset() { return extra(HA_EXTRA_RESET); }
|
||||
public:
|
||||
@ -1109,7 +1114,10 @@ public:
|
||||
TRUE Locking is allowed
|
||||
FALSE Locking is not allowed. The error was thrown.
|
||||
*/
|
||||
virtual bool check_if_locking_is_allowed(THD *thd, TABLE *table, uint count)
|
||||
virtual bool check_if_locking_is_allowed(uint sql_command,
|
||||
ulong type, TABLE *table,
|
||||
uint count,
|
||||
bool called_by_logger_thread)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user