summaryrefslogtreecommitdiff
path: root/src/common/sql.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-11-18 20:23:46 +0100
committerGitHub <noreply@github.com>2017-11-18 20:23:46 +0100
commit66ee4dea37d47af769cc94c8b8ebd2b12699ce7c (patch)
treeb524690b23670f041e8824d2eecec69f6dc80389 /src/common/sql.h
parent901df02711777462bd9e4016c91b8166441d9353 (diff)
parente5a63561bba9d09e5a88636f4982cdb2cf57a569 (diff)
downloadhercules-66ee4dea37d47af769cc94c8b8ebd2b12699ce7c.tar.gz
hercules-66ee4dea37d47af769cc94c8b8ebd2b12699ce7c.tar.bz2
hercules-66ee4dea37d47af769cc94c8b8ebd2b12699ce7c.tar.xz
hercules-66ee4dea37d47af769cc94c8b8ebd2b12699ce7c.zip
Merge pull request #1901 from MishimaHaruna/sql-bind-types
Correct and sanitize SQL bind types
Diffstat (limited to 'src/common/sql.h')
-rw-r--r--src/common/sql.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/sql.h b/src/common/sql.h
index 4d9a12cc1..11127c66c 100644
--- a/src/common/sql.h
+++ b/src/common/sql.h
@@ -59,6 +59,8 @@ enum SqlDataType {
SQLDT_UINT,
SQLDT_ULONG,
SQLDT_ULONGLONG,
+ SQLDT_BOOL,
+ SQLDT_TIME,
// floating point
SQLDT_FLOAT,
SQLDT_DOUBLE,