PT-1860 make pt-osc respect case insesitive lookup on Windows and osx #516

- Run update-modules
- Adjusted fix, so it does not create extra variable to hold $EVAL_ERROR
- Adjusted test case, so it runs on Linux
This commit is contained in:
Sveta Smirnova
2023-11-09 17:16:43 +03:00
parent e4583b0542
commit 3e1e9b8425
4 changed files with 38 additions and 23 deletions

View File

@@ -339,9 +339,9 @@ sub check_table {
my $lower_case_table_names;
eval { ($lower_case_table_names) = $dbh->selectrow_array($lctn_sql); };
if ( my $e = $EVAL_ERROR ) {
PTDEBUG && _d($e);
$self->{check_table_error} = $e;
if ( $EVAL_ERROR ) {
PTDEBUG && _d($EVAL_ERROR);
$self->{check_table_error} = $EVAL_ERROR;
return 0;
}