ODBC_TEST(t_info)
{
    SQLCHAR* create_table = (SQLCHAR*)"CREATE TABLE `message` (`id` bigint(20) NOT NULL,`timestamp` bigint(20) NOT NULL,`info` mediumtext COLLATE utf8_unicode_ci) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci";
    OK_SIMPLE_STMT(Stmt, "DROP TABLE IF EXISTS message");
    OK_SIMPLE_STMT(Stmt, create_table);
    OK_SIMPLE_STMT(Stmt, "INSERT INTO `message` (`id`, `timestamp`, `info`) VALUES(10, 100, 'This is a big 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 text?')");
    SQLWCHAR id[255];
    SQLLEN   lenPtr, lenPtr2;
    OK_SIMPLE_STMTW(Stmt, CW("SELECT id, info from message"));
    CHECK_STMT_RC(Stmt, SQLBindCol(Stmt, 1, SQL_C_WCHAR, id, sizeof(id), &lenPtr));
    // Binding lengthBuffer, but no targetBuffer, type must be SQL_C_WCHAR
    CHECK_STMT_RC(Stmt, SQLBindCol(Stmt, 2, SQL_C_WCHAR, NULL, 0, &lenPtr2));
    // CRASHES
    EXPECT_STMT(Stmt, SQLFetch(Stmt), SQL_SUCCESS);
    return OK;
}