467
467
if(AbstractDb::getSecondaryKey(table, pKey, pData, (void**)&secondaryKey, &secondaryKeyLen) == 0)
469
470
Data sKey(Data::Share, secondaryKey, secondaryKeyLen);
471
472
ds << "REPLACE INTO " << tableName(table)
472
473
<< " SET attr='" << escapeString(pKey, escapedKey)
474
475
<< "', value='" << pData.base64encode()