mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Portability fixes
libmysql/libmysql.c: Cleanup & portability fixes
This commit is contained in:
@@ -324,7 +324,7 @@ bool multi_delete::send_data(List<Item> &values)
|
||||
}
|
||||
else
|
||||
{
|
||||
error=tempfiles[secure_counter]->unique_add(table->file->ref);
|
||||
error=tempfiles[secure_counter]->unique_add((char*) table->file->ref);
|
||||
if (error)
|
||||
{
|
||||
error=-1;
|
||||
@@ -378,7 +378,7 @@ void multi_delete::send_error(uint errcode,const char *err)
|
||||
|
||||
int multi_delete::do_deletes (bool from_send_error)
|
||||
{
|
||||
int error = 0, counter = 0, count;
|
||||
int error = 0, counter = 0;
|
||||
|
||||
if (from_send_error)
|
||||
{
|
||||
|
Reference in New Issue
Block a user