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
24e10360
Commit
24e10360
authored
Jan 17, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DBU_TRUE and DBU_FALSE => TRUE/FALSE
parent
29baec8a
Changes
2
Hide 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 @
24e10360
...
...
@@ -49,8 +49,6 @@ if (r) \
DIE_UNLESS(r == 0);\
}
#define DBU_TRUE 1
#define DBU_FALSE 0
#define DBU_FAILED 1
#define DBU_OK 0
...
...
storage/ndb/test/src/DbUtil.cpp
View file @
24e10360
...
...
@@ -86,13 +86,13 @@ DbUtil::databaseLogin(const char* system, const char* usr,
exit
(
DBU_FAILED
);
}
mysql
->
reconnect
=
DBU_
TRUE
;
mysql
->
reconnect
=
TRUE
;
/* set AUTOCOMMIT */
if
(
!
transactional
)
mysql_autocommit
(
mysql
,
DBU_
TRUE
);
mysql_autocommit
(
mysql
,
TRUE
);
else
mysql_autocommit
(
mysql
,
DBU_
FALSE
);
mysql_autocommit
(
mysql
,
FALSE
);
#ifdef DEBUG
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