mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 20:25:32 +02:00
Fixed bug in table level privilege GRANT handling. (Bug #2178)
Portability fixes mysql-test/r/rpl_until.result: Portability fix mysql-test/t/rpl_until.test: Portability fix sql/slave.cc: Write UNTIL position to logs (for debugging) sql/slave.h: Write UNTIL position to logs (for debugging) sql/sql_acl.cc: Fixed bug in table level privilege GRANT handling. (Bug #2178)
This commit is contained in:
parent
738469384e
commit
3f4d396dc3
5 changed files with 11 additions and 6 deletions
|
|
@ -324,6 +324,11 @@ typedef struct st_relay_log_info
|
|||
|
||||
/* Check if UNTIL condition is satisfied. See slave.cc for more. */
|
||||
bool is_until_satisfied();
|
||||
inline ulonglong until_pos()
|
||||
{
|
||||
return ((until_condition == UNTIL_MASTER_POS) ? group_master_log_pos :
|
||||
group_relay_log_pos);
|
||||
}
|
||||
} RELAY_LOG_INFO;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue