Archived
1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
archived/test/t_mysql.c

20 lines
341 B
C

#include <stdio.h>
#include "../src/arch/db.h"
int main(int argc, char *argv[]) {
printf("Run!\n");
arch_db_init("localhost", "warez", "elebobo", "filesystem", "filesystem");
sleep(10);
arch_db_insert("/this/is/my/path/to/", "myfile", 0);
arch_db_delete("/this/is/my/path/to/", "myfile");
arch_db_close();
return 0;
}