1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-3424 Fix handler API breakage for write_row()

The MariaDB handler API changed for write_row(). The 'buf' parameter is
now a 'const'. This meant that our implementation didn't match the
virtual call so ours was no longer called. This implemented the 'const'.
This commit is contained in:
Andrew Hutchings
2019-08-13 14:18:59 +01:00
parent 0879d70d87
commit fd5233f070
5 changed files with 20 additions and 18 deletions

View File

@ -2937,7 +2937,7 @@ int ha_calpont_impl_delete_table(const char* name)
int rc = ha_calpont_impl_delete_table_(dbName, name, *ci);
return rc;
}
int ha_calpont_impl_write_row(uchar* buf, TABLE* table)
int ha_calpont_impl_write_row(const uchar* buf, TABLE* table)
{
THD* thd = current_thd;
//sleep(100);