Instead of storing pickled objects in a dynamic column, we store them

directly in BLOB. They will be identified in function mariadb_get_pickled()
under the following conditions:
- First two bytes must be 0x8003
- Last byte must be 0x2E
- the depickling call must return a valid (not NULL) object.
This commit is contained in:
Georg Richter
2018-07-20 17:03:39 +02:00
parent 5994af2465
commit ae8020d709
3 changed files with 32 additions and 54 deletions

View File

@ -113,7 +113,6 @@ typedef struct {
uint8_t free_me;
void *buffer;
unsigned char num[8];
DYNAMIC_COLUMN dyncol;
MYSQL_TIME tm;
} MrdbParamValue;