mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
make information schema libmysqld compatible
fixed typo sql/handler.cc: fixed typo sql/sql_acl.cc: make information schema libmysqld compatible
This commit is contained in:
@ -517,8 +517,8 @@ int ha_commit_trans(THD *thd, THD_TRANS* trans)
|
|||||||
if ((error=ndbcluster_commit(thd,trans->ndb_tid)))
|
if ((error=ndbcluster_commit(thd,trans->ndb_tid)))
|
||||||
{
|
{
|
||||||
if (error == -1)
|
if (error == -1)
|
||||||
my_message_(ER_ERROR_DURING_COMMIT, ER(ER_ERROR_DURING_COMMIT),
|
my_message(ER_ERROR_DURING_COMMIT, ER(ER_ERROR_DURING_COMMIT),
|
||||||
MYF(0));
|
MYF(0));
|
||||||
error=1;
|
error=1;
|
||||||
}
|
}
|
||||||
if (trans == &thd->transaction.all)
|
if (trans == &thd->transaction.all)
|
||||||
|
@ -3985,8 +3985,10 @@ int fill_schema_user_privileges(THD *thd, TABLE_LIST *tables, COND *cond)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
|
#else
|
||||||
|
return(0);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -4033,8 +4035,10 @@ int fill_schema_schema_privileges(THD *thd, TABLE_LIST *tables, COND *cond)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
|
#else
|
||||||
|
return (0);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -4078,8 +4082,10 @@ int fill_schema_table_privileges(THD *thd, TABLE_LIST *tables, COND *cond)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
|
#else
|
||||||
|
return (0);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -4135,8 +4141,10 @@ int fill_schema_column_privileges(THD *thd, TABLE_LIST *tables, COND *cond)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
|
#else
|
||||||
|
return (0);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user