mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-32216 Compile mysqldump as C++ (preparation for using connection pool)
This commit is contained in:
parent
d039346a7a
commit
a553d55bb6
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ SET_TARGET_PROPERTIES(mariadb-test PROPERTIES ENABLE_EXPORTS TRUE)
|
|||
MYSQL_ADD_EXECUTABLE(mariadb-check mysqlcheck.c)
|
||||
TARGET_LINK_LIBRARIES(mariadb-check ${CLIENT_LIB})
|
||||
|
||||
MYSQL_ADD_EXECUTABLE(mariadb-dump mysqldump.c ../sql-common/my_user.c)
|
||||
MYSQL_ADD_EXECUTABLE(mariadb-dump mysqldump.cc ../sql-common/my_user.c)
|
||||
TARGET_LINK_LIBRARIES(mariadb-dump ${CLIENT_LIB})
|
||||
|
||||
MYSQL_ADD_EXECUTABLE(mariadb-import mysqlimport.c)
|
||||
|
|
|
@ -6761,7 +6761,7 @@ static char *primary_key_fields(const char *table_name)
|
|||
{
|
||||
char *end;
|
||||
/* result (terminating \0 is already in result_length) */
|
||||
result= my_malloc(PSI_NOT_INSTRUMENTED, result_length + 10, MYF(MY_WME));
|
||||
result= (char *)my_malloc(PSI_NOT_INSTRUMENTED, result_length + 10, MYF(MY_WME));
|
||||
if (!result)
|
||||
{
|
||||
fprintf(stderr, "Error: Not enough memory to store ORDER BY clause\n");
|
Loading…
Reference in a new issue