diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-10-13 14:13:40 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-10-13 14:13:40 +0100 |
commit | 8193b47ceb4c1d2044b6a09f08d795b711704726 (patch) | |
tree | 7014da47d9bd9b01153da95b8015f9aa5ef0bf90 /libmysqlpp/my-column.cpp | |
parent | Modernize build (diff) | |
download | libdbpp-mysql-8193b47ceb4c1d2044b6a09f08d795b711704726.tar.bz2 libdbpp-mysql-8193b47ceb4c1d2044b6a09f08d795b711704726.tar.xz libdbpp-mysql-8193b47ceb4c1d2044b6a09f08d795b711704726.zip |
Fix literal booleans
Diffstat (limited to 'libmysqlpp/my-column.cpp')
-rw-r--r-- | libmysqlpp/my-column.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysqlpp/my-column.cpp b/libmysqlpp/my-column.cpp index 403933c..60c8c10 100644 --- a/libmysqlpp/my-column.cpp +++ b/libmysqlpp/my-column.cpp @@ -24,7 +24,7 @@ MySQL::StringColumn::StringColumn(const char * name, unsigned int field, MYSQL_B { b->is_null = &is_null; b->buffer_type = MYSQL_TYPE_STRING; - b->is_unsigned = 0; + b->is_unsigned = false; b->buffer = value.data(); b->buffer_length = len; b->length = &length; @@ -62,7 +62,7 @@ namespace MySQL { { b->is_null = &is_null; b->buffer_type = MT; - b->is_unsigned = 0; + b->is_unsigned = false; b->buffer = &value; b->buffer_length = sizeof(T); } |