]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/subversion/subversion/libsvn_subr/internal_statements.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / subversion / subversion / libsvn_subr / internal_statements.h
1 /* This file is automatically generated from internal_statements.sql and .dist_sandbox/subversion-1.8.1/subversion/libsvn_subr/token-map.h.
2  * Do not edit this file -- edit the source and rerun gen-make.py */
3
4 #define STMT_INTERNAL_SAVEPOINT_SVN 0
5 #define STMT_0_INFO {"STMT_INTERNAL_SAVEPOINT_SVN", NULL}
6 #define STMT_0 \
7   "SAVEPOINT svn " \
8   ""
9
10 #define STMT_INTERNAL_RELEASE_SAVEPOINT_SVN 1
11 #define STMT_1_INFO {"STMT_INTERNAL_RELEASE_SAVEPOINT_SVN", NULL}
12 #define STMT_1 \
13   "RELEASE SAVEPOINT svn " \
14   ""
15
16 #define STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN 2
17 #define STMT_2_INFO {"STMT_INTERNAL_ROLLBACK_TO_SAVEPOINT_SVN", NULL}
18 #define STMT_2 \
19   "ROLLBACK TO SAVEPOINT svn " \
20   ""
21
22 #define STMT_INTERNAL_BEGIN_TRANSACTION 3
23 #define STMT_3_INFO {"STMT_INTERNAL_BEGIN_TRANSACTION", NULL}
24 #define STMT_3 \
25   "BEGIN TRANSACTION " \
26   ""
27
28 #define STMT_INTERNAL_BEGIN_IMMEDIATE_TRANSACTION 4
29 #define STMT_4_INFO {"STMT_INTERNAL_BEGIN_IMMEDIATE_TRANSACTION", NULL}
30 #define STMT_4 \
31   "BEGIN IMMEDIATE TRANSACTION " \
32   ""
33
34 #define STMT_INTERNAL_COMMIT_TRANSACTION 5
35 #define STMT_5_INFO {"STMT_INTERNAL_COMMIT_TRANSACTION", NULL}
36 #define STMT_5 \
37   "COMMIT TRANSACTION " \
38   ""
39
40 #define STMT_INTERNAL_ROLLBACK_TRANSACTION 6
41 #define STMT_6_INFO {"STMT_INTERNAL_ROLLBACK_TRANSACTION", NULL}
42 #define STMT_6 \
43   "ROLLBACK TRANSACTION " \
44   ""
45
46 #define STMT_INTERNAL_LAST 7
47 #define STMT_7_INFO {"STMT_INTERNAL_LAST", NULL}
48 #define STMT_7 \
49   "; " \
50   ""
51
52 #define INTERNAL_STATEMENTS_SQL_DECLARE_STATEMENTS(varname) \
53   static const char * const varname[] = { \
54     STMT_0, \
55     STMT_1, \
56     STMT_2, \
57     STMT_3, \
58     STMT_4, \
59     STMT_5, \
60     STMT_6, \
61     STMT_7, \
62     NULL \
63   }
64
65 #define INTERNAL_STATEMENTS_SQL_DECLARE_STATEMENT_INFO(varname) \
66   static const char * const varname[][2] = { \
67     STMT_0_INFO, \
68     STMT_1_INFO, \
69     STMT_2_INFO, \
70     STMT_3_INFO, \
71     STMT_4_INFO, \
72     STMT_5_INFO, \
73     STMT_6_INFO, \
74     STMT_7_INFO, \
75     {NULL, NULL} \
76   }