Commit 299ba4e4 authored by Ivan Donchevskiy's avatar Ivan Donchevskiy

coments in Storages.h about size of CycleStorage journal

parent cc2ed3f9
...@@ -172,6 +172,8 @@ bool testTable2(void) ...@@ -172,6 +172,8 @@ bool testTable2(void)
return false; return false;
} }
printf("\n");
strcpy(val,"new block"); strcpy(val,"new block");
i=9; i=9;
t.addRow(&i,val); t.addRow(&i,val);
......
...@@ -143,8 +143,11 @@ class CycleStorage ...@@ -143,8 +143,11 @@ class CycleStorage
/*! /*!
\param inf_sz - , \param inf_sz - ,
\param int_count - ( inf_sz) \param inf_count - ( inf_sz +1 )
\param seek - ( , ) \param seek - ( , )
inf_count*(inf_sz+1) + sizeof(CycleStorageAttr),
-
*/ */
bool open(const char* name, int inf_sz, int inf_count, int seek); bool open(const char* name, int inf_sz, int inf_count, int seek);
bool create(const char* name, int inf_sz, int inf_count, int seek); bool create(const char* name, int inf_sz, int inf_count, int seek);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment