@@ -306,24 +306,26 @@ public function getExpectedColumns()
306
306
]
307
307
);
308
308
309
- $ columns ['int_col ' ]['dbType ' ] = 'int ' ;
310
- $ columns ['int_col ' ]['size ' ] = null ;
311
- $ columns ['int_col ' ]['precision ' ] = null ;
312
- $ columns ['int_col2 ' ]['dbType ' ] = 'int ' ;
313
- $ columns ['int_col2 ' ]['size ' ] = null ;
314
- $ columns ['int_col2 ' ]['precision ' ] = null ;
315
- $ columns ['int_col3 ' ]['dbType ' ] = 'int unsigned ' ;
316
- $ columns ['int_col3 ' ]['size ' ] = null ;
317
- $ columns ['int_col3 ' ]['precision ' ] = null ;
318
- $ columns ['tinyint_col ' ]['dbType ' ] = 'tinyint ' ;
319
- $ columns ['tinyint_col ' ]['size ' ] = null ;
320
- $ columns ['tinyint_col ' ]['precision ' ] = null ;
321
- $ columns ['smallint_col ' ]['dbType ' ] = 'smallint ' ;
322
- $ columns ['smallint_col ' ]['size ' ] = null ;
323
- $ columns ['smallint_col ' ]['precision ' ] = null ;
324
- $ columns ['bigint_col ' ]['dbType ' ] = 'bigint unsigned ' ;
325
- $ columns ['bigint_col ' ]['size ' ] = null ;
326
- $ columns ['bigint_col ' ]['precision ' ] = null ;
309
+ if (\version_compare ($ version , '8.0.17 ' , '> ' ) && \stripos ($ version , 'MariaDb ' ) === false ) {
310
+ $ columns ['int_col ' ]['dbType ' ] = 'int ' ;
311
+ $ columns ['int_col ' ]['size ' ] = null ;
312
+ $ columns ['int_col ' ]['precision ' ] = null ;
313
+ $ columns ['int_col2 ' ]['dbType ' ] = 'int ' ;
314
+ $ columns ['int_col2 ' ]['size ' ] = null ;
315
+ $ columns ['int_col2 ' ]['precision ' ] = null ;
316
+ $ columns ['int_col3 ' ]['dbType ' ] = 'int unsigned ' ;
317
+ $ columns ['int_col3 ' ]['size ' ] = null ;
318
+ $ columns ['int_col3 ' ]['precision ' ] = null ;
319
+ $ columns ['tinyint_col ' ]['dbType ' ] = 'tinyint ' ;
320
+ $ columns ['tinyint_col ' ]['size ' ] = null ;
321
+ $ columns ['tinyint_col ' ]['precision ' ] = null ;
322
+ $ columns ['smallint_col ' ]['dbType ' ] = 'smallint ' ;
323
+ $ columns ['smallint_col ' ]['size ' ] = null ;
324
+ $ columns ['smallint_col ' ]['precision ' ] = null ;
325
+ $ columns ['bigint_col ' ]['dbType ' ] = 'bigint unsigned ' ;
326
+ $ columns ['bigint_col ' ]['size ' ] = null ;
327
+ $ columns ['bigint_col ' ]['precision ' ] = null ;
328
+ }
327
329
328
330
return $ columns ;
329
331
}
0 commit comments