@@ -55,32 +55,32 @@ public function provideBasicVariables(): array
5555 'assigning integer (emulated) ' => ['long_query_time ' , true , $ this ->v81 ('10.000000 ' , 10.0 ), 15 , $ this ->v81 ('15.000000 ' , 15.0 )],
5656 'assigning boolean (native) ' => ['foreign_key_checks ' , false , 1 , false , 0 ],
5757 'assigning boolean (emulated) ' => ['foreign_key_checks ' , true , $ this ->v81 ('1 ' , 1 ), false , $ this ->v81 ('0 ' , 0 )],
58- 'assigning string (native) ' => ['tx_isolation ' , false , 'REPEATABLE-READ ' , 'read-committed ' , 'READ-COMMITTED ' ],
59- 'assigning string (emulated) ' => ['tx_isolation ' , true , 'REPEATABLE-READ ' , 'read-committed ' , 'READ-COMMITTED ' ],
58+ 'assigning string (native) ' => ['transaction_isolation ' , false , 'REPEATABLE-READ ' , 'read-committed ' , 'READ-COMMITTED ' ],
59+ 'assigning string (emulated) ' => ['transaction_isolation ' , true , 'REPEATABLE-READ ' , 'read-committed ' , 'READ-COMMITTED ' ],
6060 'assigning wrapped float (native) ' => ['long_query_time ' , false , 10.0 , Value::float (15.0 ), 15.0 ],
6161 'assigning wrapped float (emulated) ' => ['long_query_time ' , true , $ this ->v81 ('10.000000 ' , 10.0 ), Value::float (15.0 ), $ this ->v81 ('15.000000 ' , 15.0 )],
6262 'assigning wrapped integer (native) ' => ['long_query_time ' , false , 10.0 , Value::int (15 ), 15.0 ],
6363 'assigning wrapped integer (emulated) ' => ['long_query_time ' , true , $ this ->v81 ('10.000000 ' , 10.0 ), Value::int (15 ), $ this ->v81 ('15.000000 ' , 15.0 )],
6464 'assigning wrapped boolean (native) ' => ['foreign_key_checks ' , false , 1 , Value::bool (false ), 0 ],
6565 'assigning wrapped boolean (emulated) ' => ['foreign_key_checks ' , true , $ this ->v81 ('1 ' , 1 ), Value::bool (false ), $ this ->v81 ('0 ' , 0 )],
66- 'assigning wrapped string (native) ' => ['tx_isolation ' , false , 'REPEATABLE-READ ' , Value::str ('read-committed ' ), 'READ-COMMITTED ' ],
67- 'assigning wrapped string (emulated) ' => ['tx_isolation ' , true , 'REPEATABLE-READ ' , Value::str ('read-committed ' ), 'READ-COMMITTED ' ],
66+ 'assigning wrapped string (native) ' => ['transaction_isolation ' , false , 'REPEATABLE-READ ' , Value::str ('read-committed ' ), 'READ-COMMITTED ' ],
67+ 'assigning wrapped string (emulated) ' => ['transaction_isolation ' , true , 'REPEATABLE-READ ' , Value::str ('read-committed ' ), 'READ-COMMITTED ' ],
6868 'replacing explicit float (native) ' => ['long_query_time ' , false , 10.0 , Replacer::float (function ($ v ) { return $ v + 5.0 ; }), 15.0 ],
6969 'replacing explicit float (emulated) ' => ['long_query_time ' , true , $ this ->v81 ('10.000000 ' , 10.0 ), Replacer::float (function ($ v ) { return $ v + 5.0 ; }), $ this ->v81 ('15.000000 ' , 15.0 )],
7070 'replacing explicit integer (native) ' => ['long_query_time ' , false , 10.0 , Replacer::int (function ($ v ) { return $ v + 5 ; }), 15.0 ],
7171 'replacing explicit integer (emulated) ' => ['long_query_time ' , true , $ this ->v81 ('10.000000 ' , 10.0 ), Replacer::int (function ($ v ) { return $ v + 5 ; }), $ this ->v81 ('15.000000 ' , 15.0 )],
7272 'replacing explicit boolean (native) ' => ['foreign_key_checks ' , false , 1 , Replacer::bool (function ($ v ) { return !$ v ; }), 0 ],
7373 'replacing explicit boolean (emulated) ' => ['foreign_key_checks ' , true , $ this ->v81 ('1 ' , 1 ), Replacer::bool (function ($ v ) { return !$ v ; }), $ this ->v81 ('0 ' , 0 )],
74- 'replacing explicit string (native) ' => ['tx_isolation ' , false , 'REPEATABLE-READ ' , Replacer::str (function ($ v ) { return str_ireplace ('repeatable-read ' , 'read-committed ' , $ v ); }), 'READ-COMMITTED ' ],
75- 'replacing explicit string (emulated) ' => ['tx_isolation ' , true , 'REPEATABLE-READ ' , Replacer::str (function ($ v ) { return str_ireplace ('repeatable-read ' , 'read-committed ' , $ v ); }), 'READ-COMMITTED ' ],
74+ 'replacing explicit string (native) ' => ['transaction_isolation ' , false , 'REPEATABLE-READ ' , Replacer::str (function ($ v ) { return str_ireplace ('repeatable-read ' , 'read-committed ' , $ v ); }), 'READ-COMMITTED ' ],
75+ 'replacing explicit string (emulated) ' => ['transaction_isolation ' , true , 'REPEATABLE-READ ' , Replacer::str (function ($ v ) { return str_ireplace ('repeatable-read ' , 'read-committed ' , $ v ); }), 'READ-COMMITTED ' ],
7676 'replacing implicit float (native) ' => ['long_query_time ' , false , 10.0 , function ($ v ): float { return $ v + 5.0 ; }, 15.0 ],
7777 'replacing implicit float (emulated) ' => ['long_query_time ' , true , $ this ->v81 ('10.000000 ' , 10.0 ), function ($ v ): float { return $ v + 5.0 ; }, $ this ->v81 ('15.000000 ' , 15.0 )],
7878 'replacing implicit integer (native) ' => ['long_query_time ' , false , 10.0 , function ($ v ): int { return $ v + 5 ; }, 15.0 ],
7979 'replacing implicit integer (emulated) ' => ['long_query_time ' , true , $ this ->v81 ('10.000000 ' , 10.0 ), function ($ v ): int { return $ v + 5 ; }, $ this ->v81 ('15.000000 ' , 15.0 )],
8080 'replacing implicit boolean (native) ' => ['foreign_key_checks ' , false , 1 , function ($ v ): bool { return !$ v ; }, 0 ],
8181 'replacing implicit boolean (emulated) ' => ['foreign_key_checks ' , true , $ this ->v81 ('1 ' , 1 ), function ($ v ): bool { return !$ v ; }, $ this ->v81 ('0 ' , 0 )],
82- 'replacing implicit string (native) ' => ['tx_isolation ' , false , 'REPEATABLE-READ ' , function ($ v ): string { return str_ireplace ('repeatable-read ' , 'read-committed ' , $ v ); }, 'READ-COMMITTED ' ],
83- 'replacing implicit string (emulated) ' => ['tx_isolation ' , true , 'REPEATABLE-READ ' , function ($ v ): string { return str_ireplace ('repeatable-read ' , 'read-committed ' , $ v ); }, 'READ-COMMITTED ' ],
82+ 'replacing implicit string (native) ' => ['transaction_isolation ' , false , 'REPEATABLE-READ ' , function ($ v ): string { return str_ireplace ('repeatable-read ' , 'read-committed ' , $ v ); }, 'READ-COMMITTED ' ],
83+ 'replacing implicit string (emulated) ' => ['transaction_isolation ' , true , 'REPEATABLE-READ ' , function ($ v ): string { return str_ireplace ('repeatable-read ' , 'read-committed ' , $ v ); }, 'READ-COMMITTED ' ],
8484 ];
8585 }
8686
0 commit comments