MXS-1043: Handle @@identity like @@last_insert_id
The type of @@identity, @@last_insert_id and last_insert_id() is now the same, that is, QUERY_TYPE_READ|QUERY_TYPE_MASTER_READ.
This commit is contained in:
@ -12,3 +12,6 @@ BEGIN;
|
||||
ROLLBACK;
|
||||
COMMIT;
|
||||
use X;
|
||||
select last_insert_id();
|
||||
select @@last_insert_id;
|
||||
select @@identity;
|
||||
|
Reference in New Issue
Block a user