Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
0d514c93
Commit
0d514c93
authored
Jan 17, 2008
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DBU_TRUE and DBU_FALSE => TRUE/FALSE
parent
b3fe06cd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
storage/ndb/test/include/DbUtil.hpp
storage/ndb/test/include/DbUtil.hpp
+0
-2
storage/ndb/test/src/DbUtil.cpp
storage/ndb/test/src/DbUtil.cpp
+3
-3
No files found.
storage/ndb/test/include/DbUtil.hpp
View file @
0d514c93
...
@@ -49,8 +49,6 @@ if (r) \
...
@@ -49,8 +49,6 @@ if (r) \
DIE_UNLESS(r == 0);\
DIE_UNLESS(r == 0);\
}
}
#define DBU_TRUE 1
#define DBU_FALSE 0
#define DBU_FAILED 1
#define DBU_FAILED 1
#define DBU_OK 0
#define DBU_OK 0
...
...
storage/ndb/test/src/DbUtil.cpp
View file @
0d514c93
...
@@ -86,13 +86,13 @@ DbUtil::databaseLogin(const char* system, const char* usr,
...
@@ -86,13 +86,13 @@ DbUtil::databaseLogin(const char* system, const char* usr,
exit
(
DBU_FAILED
);
exit
(
DBU_FAILED
);
}
}
mysql
->
reconnect
=
DBU_
TRUE
;
mysql
->
reconnect
=
TRUE
;
/* set AUTOCOMMIT */
/* set AUTOCOMMIT */
if
(
!
transactional
)
if
(
!
transactional
)
mysql_autocommit
(
mysql
,
DBU_
TRUE
);
mysql_autocommit
(
mysql
,
TRUE
);
else
else
mysql_autocommit
(
mysql
,
DBU_
FALSE
);
mysql_autocommit
(
mysql
,
FALSE
);
#ifdef DEBUG
#ifdef DEBUG
printf
(
"
\n\t
Connected to MySQL server version: %s (%lu)
\n\n
"
,
printf
(
"
\n\t
Connected to MySQL server version: %s (%lu)
\n\n
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment