mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
This is another attempt to fix mdev-16473.
The previous correction of the patch for mdev-16473 did not work correctly for the databases whose names started with '*'. Added a test case with a database named "*".
This commit is contained in:
@ -3959,7 +3959,10 @@ public:
|
||||
my_message(ER_NO_DB_ERROR, ER(ER_NO_DB_ERROR), MYF(0));
|
||||
return TRUE;
|
||||
}
|
||||
/* This will allow to throw an error later for non-CTE references */
|
||||
/*
|
||||
It does not matter what database name is set in this case
|
||||
because it will never be used after parser stage
|
||||
*/
|
||||
*p_db_length= strlen(no_db);
|
||||
*p_db= strmake(no_db, *p_db_length);
|
||||
}
|
||||
|
Reference in New Issue
Block a user