fixing bin/t04.c

This commit is contained in:
hyung-hwan 2021-07-25 18:14:36 +00:00
parent 9327c06745
commit e1809d0c18

View File

@ -1,12 +1,17 @@
#include <hio.h>
#if defined(HIO_ENABLE_MARIADB) #if defined(HIO_ENABLE_MARIADB)
#include <hio.h>
#include <hio-mar.h> #include <hio-mar.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <signal.h> #include <signal.h>
#if 0
#include <mariadb/mysql.h> #include <mariadb/mysql.h>
#else
#include <mysql.h>
#endif
#if 0 #if 0
static void mar_on_disconnect (hio_dev_mar_t* dev) static void mar_on_disconnect (hio_dev_mar_t* dev)
@ -212,7 +217,7 @@ int main (int argc, char* argv[])
return -1; return -1;
} }
hio = hio_open(HIO_NULL, 0, HIO_NULL, 512, HIO_NULL); hio = hio_open(HIO_NULL, 0, HIO_NULL, HIO_FEATURE_ALL, 512, HIO_NULL);
if (!hio) if (!hio)
{ {
printf ("Cannot open hio\n"); printf ("Cannot open hio\n");