MEMCACHE ������̣�����������������ӷ�������ȡ��Ӧ����
| 33 | |
| 34 | // MEMCACHE ������̣�����������������ӷ�������ȡ��Ӧ���� |
| 35 | static bool memcache_get(memcache* conn, const char* key) |
| 36 | { |
| 37 | string buf; |
| 38 | |
| 39 | conn->set_prefix(__keypre); |
| 40 | if (conn->get(key, buf) == false) |
| 41 | { |
| 42 | printf("get key: %s error\r\n", key); |
| 43 | return false; |
| 44 | } |
| 45 | else |
| 46 | return true; |
| 47 | } |
| 48 | |
| 49 | // �� MEMCACHE �������������� |
| 50 | static bool memcache_set(memcache* conn, const char* key) |
nothing calls this directly
no test coverage detected
searching dependent graphs…