tableId | Å×À̺íÀÇ ID |
indexFlag |
»ç¿ëÇÒ À妽º¸¦ ÁöÁ¤ DBM_PRIM : primary index DBM_SEC : secondary index |
keyData | À妽º °Ë»öÀ» À§ÇÑ Å° °ª¿¡ ´ëÇÑ Á¤º¸ |
scanId | openµÈ ½ºÄµ ID |
value | ¼³¸í |
DBM_OK | ¼º°øÀûÀ¸·Î ¼öÇàµÈ °æ¿ì |
DBM_TOO_MANY_SCANS | ÀÌ¹Ì openµÈ ½ºÄµÀÇ ¼ö°¡ NUM_SCANSÀÎ °æ¿ì |
DBM_INVALID_TABLE_ID | ÁÖ¾îÁø Å×À̺í id¸¦ °®´Â Å×À̺íÀÌ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì |
DBM_INVALID_FLAG | indexFlag°¡ DBM_PRIMµµ DBM_SECµµ ¾Æ´Ñ °æ¿ì |
DBM_SECONDARY_INDEX_NOT_EXIST | indexFlag==DBM_SECÀÌ°í secondary index°¡ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì |
DBM_INVALID_KEY_DATA |
keyData.id¶ó´Â id¸¦ °¡Áö´Â Çʵ尡 Å×ÀÌºí ½ºÅ°¸¶¿¡ ¾ø´Â °æ¿ì, keyData.typeÀÌ ½ºÅ°¸¶¿Í ÀÏÄ¡ÇÏÁö ¾Ê´Â °æ¿ì keyData.typeÀÌ blob field ÀÎ °æ¿ì keyData.lenÀÌ ÀûÀýÇÏÁö ¾ÊÀº °æ¿ì (0 < keyData.len <= PATTERN_LENÀ̾î¾ß ÇÔ) |
DBM_DB_NOT_INITED | µ¥ÀÌŸº£À̽º°¡ ÃʱâȵǾî ÀÖÁö ¾ÊÀº °æ¿ì |
FieldId | id; | /* »ç¿ëÇÏÁö ¾Ê´Â´Ù */ | |
FieldDataType | type; | ||
S32 | len; | /* ¹®ÀÚ¿ ÇʵåÀÇ °æ¿ì¿¡¸¸ »ç¿ë */ | |
union { | |||
S16 | int2val; | ||
S32 | int4val; | ||
P_S8 | str; | /* ³¡¿¡ .'\0'ÀÌ ÀÖ¾î¾ß ÇÔ */ | |
}content; |