Files
MaxScale/server/modules/routing/readwritesplit/test/test_transaction_routing3.sql
VilhoRaatikka bbf1bc2afa Fix for bug #418
Increased skygw_query_type_t to 16 bits, and corrected the way how those bit fields are checked.
Added tests for cases where autocommit is disabled and corrected old tests.
2014-04-10 17:09:42 +03:00

8 lines
238 B
SQL

-- Read from slave after implicit COMMIT
USE test;
START TRANSACTION;
CREATE TABLE IF NOT EXISTS T2 (id integer);
INSERT INTO T2 VALUES (@@server_id);
SET AUTOCOMMIT=1;
SELECT id from T2; -- read transaction's modifications from slave