summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-column.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlpp/my-column.cpp')
-rw-r--r--libmysqlpp/my-column.cpp4
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);
}