mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Simplify TABLE::decide_logging_format()
- Use local variables table and share to simplify code - Use sql_command_flags to detect what kind of command was used - Added CF_DELETES_DATA to simplify detecton of delete commands - Removed duplicate error in create_table_from_items().
This commit is contained in:
@ -6336,6 +6336,11 @@ public:
|
||||
|
||||
/* Bits in server_command_flags */
|
||||
|
||||
/**
|
||||
Statement that deletes existing rows (DELETE, DELETE_MULTI)
|
||||
*/
|
||||
#define CF_DELETES_DATA (1U << 24)
|
||||
|
||||
/**
|
||||
Skip the increase of the global query id counter. Commonly set for
|
||||
commands that are stateless (won't cause any change on the server
|
||||
|
Reference in New Issue
Block a user