diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-04-06 12:51:45 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-04-06 12:51:45 +0200 |
commit | f60b56723d647bbd50bf4489b3356dcb40121c04 (patch) | |
tree | 166dd21d83ef8da0fd7626efd4cf53aed306b32e /storage/connect | |
parent | 806ca8ddb57770730cd65299836ee4e5f4a7dd79 (diff) | |
download | mariadb-git-f60b56723d647bbd50bf4489b3356dcb40121c04.tar.gz |
- Bug fix: Variable rc could used uninitialized when tracing is on.
modified:
storage/connect/filamvct.cpp
Diffstat (limited to 'storage/connect')
-rwxr-xr-x | storage/connect/filamvct.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/connect/filamvct.cpp b/storage/connect/filamvct.cpp index 6e46cff103b..47ac07c6554 100755 --- a/storage/connect/filamvct.cpp +++ b/storage/connect/filamvct.cpp @@ -1031,7 +1031,7 @@ bool VCTFAM::CleanUnusedSpace(PGLOBAL g) /***********************************************************************/ void VCTFAM::CloseTableFile(PGLOBAL g) { - int rc, wrc = RC_OK; + int rc = 0, wrc = RC_OK; MODE mode = Tdbp->GetMode(); if (mode == MODE_INSERT) { @@ -1705,7 +1705,7 @@ int VCMFAM::DeleteRecords(PGLOBAL g, int irc) /***********************************************************************/ void VCMFAM::CloseTableFile(PGLOBAL g) { - int rc, wrc = RC_OK; + int rc = 0, wrc = RC_OK; MODE mode = Tdbp->GetMode(); if (mode == MODE_INSERT) { @@ -2416,7 +2416,7 @@ int VECFAM::RenameTempFile(PGLOBAL g) /***********************************************************************/ void VECFAM::CloseTableFile(PGLOBAL g) { - int rc, wrc = RC_OK; + int rc = 0, wrc = RC_OK; MODE mode = Tdbp->GetMode(); if (mode == MODE_INSERT) { @@ -4063,7 +4063,7 @@ bool BGVFAM::CleanUnusedSpace(PGLOBAL g) /***********************************************************************/ void BGVFAM::CloseTableFile(PGLOBAL g) { - int rc, wrc = RC_OK; + int rc = 0, wrc = RC_OK; MODE mode = Tdbp->GetMode(); if (mode == MODE_INSERT) { |