@@ -55,32 +55,32 @@ public function provideBasicVariables(): array
55
55
'assigning integer (emulated) ' => ['long_query_time ' , true , $ this ->v81 ('10.000000 ' , 10.0 ), 15 , $ this ->v81 ('15.000000 ' , 15.0 )],
56
56
'assigning boolean (native) ' => ['foreign_key_checks ' , false , 1 , false , 0 ],
57
57
'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 ' ],
60
60
'assigning wrapped float (native) ' => ['long_query_time ' , false , 10.0 , Value::float (15.0 ), 15.0 ],
61
61
'assigning wrapped float (emulated) ' => ['long_query_time ' , true , $ this ->v81 ('10.000000 ' , 10.0 ), Value::float (15.0 ), $ this ->v81 ('15.000000 ' , 15.0 )],
62
62
'assigning wrapped integer (native) ' => ['long_query_time ' , false , 10.0 , Value::int (15 ), 15.0 ],
63
63
'assigning wrapped integer (emulated) ' => ['long_query_time ' , true , $ this ->v81 ('10.000000 ' , 10.0 ), Value::int (15 ), $ this ->v81 ('15.000000 ' , 15.0 )],
64
64
'assigning wrapped boolean (native) ' => ['foreign_key_checks ' , false , 1 , Value::bool (false ), 0 ],
65
65
'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 ' ],
68
68
'replacing explicit float (native) ' => ['long_query_time ' , false , 10.0 , Replacer::float (function ($ v ) { return $ v + 5.0 ; }), 15.0 ],
69
69
'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 )],
70
70
'replacing explicit integer (native) ' => ['long_query_time ' , false , 10.0 , Replacer::int (function ($ v ) { return $ v + 5 ; }), 15.0 ],
71
71
'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 )],
72
72
'replacing explicit boolean (native) ' => ['foreign_key_checks ' , false , 1 , Replacer::bool (function ($ v ) { return !$ v ; }), 0 ],
73
73
'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 ' ],
76
76
'replacing implicit float (native) ' => ['long_query_time ' , false , 10.0 , function ($ v ): float { return $ v + 5.0 ; }, 15.0 ],
77
77
'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 )],
78
78
'replacing implicit integer (native) ' => ['long_query_time ' , false , 10.0 , function ($ v ): int { return $ v + 5 ; }, 15.0 ],
79
79
'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 )],
80
80
'replacing implicit boolean (native) ' => ['foreign_key_checks ' , false , 1 , function ($ v ): bool { return !$ v ; }, 0 ],
81
81
'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 ' ],
84
84
];
85
85
}
86
86
0 commit comments