~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/innobase/include/mysql_addons.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
*******************************************************/
34
34
 
35
35
#if defined(BUILD_DRIZZLE)
 
36
#if defined(__cplusplus)
 
37
extern "C"
 
38
{
 
39
#else
 
40
#include <stdbool.h>
 
41
#endif
36
42
/**
37
43
 *
38
44
  Return the thread id of a user thread
40
46
  @param session  user thread connection handle
41
47
  @return  thread id
42
48
*/
 
49
#if defined(__cplusplus)
 
50
extern "C"
 
51
#endif
43
52
unsigned long session_get_thread_id(const void *session);
 
53
 
 
54
/**
 
55
  Check if a user thread is running a non-transactional update
 
56
  @param session  user thread
 
57
  @retval 0 the user thread is not running a non-transactional update
 
58
  @retval 1 the user thread is running a non-transactional update
 
59
*/
 
60
int session_non_transactional_update(const void *session);
 
61
 
 
62
/**
 
63
  Mark transaction to rollback and mark error as fatal to a sub-statement.
 
64
  @param  session   Thread handle
 
65
  @param  all   TRUE <=> rollback main transaction.
 
66
*/
 
67
void session_mark_transaction_to_rollback(void *session, bool all);
 
68
 
 
69
#if defined(__cplusplus)
 
70
}
 
71
#endif
44
72
#endif