Project

General

Profile

Bug #6407 ยป wt-mysql-error-flag.patch

patch to reset error flag - Olaf Bonorden, 06/18/2018 11:59 PM

View differences:

src/Wt/Dbo/backend/MySQL.C 2018-06-18 23:41:20.860375397 +0200
out_pars_[i].is_null = (my_bool *)malloc(sizeof(char));
out_pars_[i].length = (unsigned long *) malloc(sizeof(unsigned long));
out_pars_[i].error = (my_bool *)malloc(sizeof(char));
out_pars_[i].error[0] = 0;
}
}
mysql_stmt_bind_result(stmt_, out_pars_);
    (1-1/1)