diff --git a/odb/mysql/mysql-types.hxx b/odb/mysql/mysql-types.hxx
index 1254ccd..5396791 100644
--- a/odb/mysql/mysql-types.hxx
+++ b/odb/mysql/mysql-types.hxx
@@ -7,7 +7,7 @@
 
 #include <odb/mysql/details/config.hxx>
 
-typedef char my_bool;
+typedef bool my_bool;
 typedef struct st_mysql_bind MYSQL_BIND;
 
 #ifdef LIBODB_MYSQL_INCLUDE_SHORT
