mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Cleanup of tests
Fixed bug with ALTER TABLE on HEAP tables
This commit is contained in:
@ -37,7 +37,7 @@
|
||||
** T<>nu Samuel <tonu@please.do.not.remove.this.spam.ee>
|
||||
**/
|
||||
|
||||
#define DUMP_VERSION "8.11"
|
||||
#define DUMP_VERSION "8.12"
|
||||
|
||||
#include <global.h>
|
||||
#include <my_sys.h>
|
||||
@ -863,9 +863,14 @@ static char *add_load_option(char *ptr,const char *object,
|
||||
{
|
||||
if (object)
|
||||
{
|
||||
ptr= strxmov(ptr," ",statement," '",NullS);
|
||||
ptr= field_escape(ptr,object,(uint) strlen(object));
|
||||
*ptr++= '\'';
|
||||
if (!strncasecmp(object,"0x",2)) /* hex constant; don't escape */
|
||||
ptr= strxmov(ptr," ",statement," ",object,NullS);
|
||||
else /* char constant; escape */
|
||||
{
|
||||
ptr= strxmov(ptr," ",statement," '",NullS);
|
||||
ptr= field_escape(ptr,object,(uint) strlen(object));
|
||||
*ptr++= '\'';
|
||||
}
|
||||
}
|
||||
return ptr;
|
||||
} /* add_load_option */
|
||||
|
Reference in New Issue
Block a user