mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
lots of post-merge changes
This commit is contained in:
@ -31,10 +31,12 @@
|
||||
*/
|
||||
|
||||
#define MYSQL_CALLBACK(OBJ, FUNC, PARAMS) \
|
||||
(((OBJ) && ((OBJ)->FUNC)) ? (OBJ)->FUNC PARAMS : 0)
|
||||
do { \
|
||||
if ((OBJ) && ((OBJ)->FUNC)) \
|
||||
(OBJ)->FUNC PARAMS; \
|
||||
} while (0)
|
||||
|
||||
#define MYSQL_CALLBACK_ELSE0(OBJ, FUNC, PARAMS, ELSE) \
|
||||
#define MYSQL_CALLBACK_ELSE(OBJ, FUNC, PARAMS, ELSE) \
|
||||
(((OBJ) && ((OBJ)->FUNC)) ? (OBJ)->FUNC PARAMS : (ELSE))
|
||||
|
||||
|
||||
#endif /* SQL_CALLBACK_INCLUDED */
|
||||
|
Reference in New Issue
Block a user