Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion include/sqlite.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ typedef struct {

typedef struct Table Table;

Table *table_create(size_t capacity);
Table *table_open(const char *filename, SqliteResult *result);
void table_destroy(Table *table);
SqliteResult table_flush(Table *table);
Expand Down
9 changes: 0 additions & 9 deletions src/database.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ static Table *allocate_table(void)
return table;
}

Table *table_create(size_t capacity)
{
if (capacity == 0 || capacity > TABLE_ROW_CAPACITY) {
return NULL;
}

return allocate_table();
}

Table *table_open(const char *filename, SqliteResult *result)
{
if (filename == NULL || result == NULL) {
Expand Down
Loading