406
406
int mysql_tmpfile(const char *prefix);
409
Check the killed state of a connection
412
In MySQL support for the KILL statement is cooperative. The KILL
413
statement only sets a "killed" flag. This function returns the value
414
of that flag. A thread should check it often, especially inside
415
time-consuming loops, and gracefully abort the operation if it is
418
@param session user thread connection handle
419
@retval 0 the connection is active
420
@retval 1 the connection has been killed
422
int session_killed(const Session *session);
425
const charset_info_st *session_charset(Session *session);
428
Invalidate the query cache for a given table.
430
@param session user thread connection handle
431
@param key databasename\\0tablename\\0
432
@param key_length length of key in bytes, including the NUL bytes
433
@param using_trx flag: TRUE if using transactions, FALSE otherwise
435
void mysql_query_cache_invalidate4(Session *session,
436
const char *key, unsigned int key_length,
439
408
} /* namespace drizzled */
441
410
#endif /* DRIZZLED_PLUGIN_H */