summaryrefslogtreecommitdiff
path: root/storage/connect/filamdbf.cpp
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2017-05-18 15:45:55 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2017-05-18 15:45:55 +0300
commit45898c20928ae71f2c28dca48e66c661b9545347 (patch)
tree4b12470d4ee5dc1845d6e5680f5a67ac210195a6 /storage/connect/filamdbf.cpp
parent0e3ca225ad65f14da79c9a73aeadcc2a3e1c0c2a (diff)
parent648d86615043e76633ac536b1000ba86abbc8af1 (diff)
downloadmariadb-git-45898c20928ae71f2c28dca48e66c661b9545347.tar.gz
Merge remote-tracking branch 'origin/10.0' into 10.0
Diffstat (limited to 'storage/connect/filamdbf.cpp')
-rw-r--r--storage/connect/filamdbf.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/connect/filamdbf.cpp b/storage/connect/filamdbf.cpp
index 8878f2c922b..44abd962c56 100644
--- a/storage/connect/filamdbf.cpp
+++ b/storage/connect/filamdbf.cpp
@@ -503,7 +503,8 @@ bool DBFFAM::OpenTableFile(PGLOBAL g)
break;
} // endif
- // Selective delete, pass thru
+ // Selective delete
+ /* fall through */
case MODE_UPDATE:
UseTemp = Tdbp->IsUsingTemp(g);
strcpy(opmode, (UseTemp) ? "rb" : "r+b");
@@ -623,6 +624,7 @@ bool DBFFAM::AllocateBuffer(PGLOBAL g)
case 'L': // Large (big) integer
case 'T': // Tiny integer
c = 'N'; // Numeric
+ /* fall through */
case 'N': // Numeric (integer)
case 'F': // Float (double)
descp->Decimals = (uchar)cdp->F.Prec;