mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
compilation failures fixes. mysqldump now compiles on AIX 4.3.
This commit is contained in:
@ -1684,7 +1684,7 @@ static void dumpTable(uint numFields, char *table)
|
|||||||
else if (opt_hex_blob && is_blob)
|
else if (opt_hex_blob && is_blob)
|
||||||
{
|
{
|
||||||
/* sakaik got the idea to to provide blob's in hex notation. */
|
/* sakaik got the idea to to provide blob's in hex notation. */
|
||||||
unsigned char *ptr= row[i], *end= ptr+ lengths[i];
|
char *ptr= row[i], *end= ptr+ lengths[i];
|
||||||
fputs("0x", md_result_file);
|
fputs("0x", md_result_file);
|
||||||
for (; ptr < end ; ptr++)
|
for (; ptr < end ; ptr++)
|
||||||
fprintf(md_result_file, "%02X", *ptr);
|
fprintf(md_result_file, "%02X", *ptr);
|
||||||
@ -2246,7 +2246,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
if (opt_master_data && do_show_master_status(sock))
|
if (opt_master_data && do_show_master_status(sock))
|
||||||
goto err;
|
goto err;
|
||||||
if (opt_single_transaction && do_unlock_tables(sock)) // unlock but no commit!
|
if (opt_single_transaction && do_unlock_tables(sock)) /* unlock but no commit! */
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
if (opt_alldbs)
|
if (opt_alldbs)
|
||||||
|
Reference in New Issue
Block a user