Deleted some commented code
This commit is contained in:
parent
ad41fe3fbf
commit
e8e73da981
21
src/dodo.c
21
src/dodo.c
@ -227,27 +227,6 @@ int add_task(sqlite3 *db, int argc, char** argv){
|
|||||||
|
|
||||||
checksqlerr(rc, "broken in add_task");
|
checksqlerr(rc, "broken in add_task");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
// Format Col names like this (col1, col2, col3)
|
|
||||||
//char* colnames = "(title, due_date)";
|
|
||||||
|
|
||||||
// Format values like this
|
|
||||||
// For first row For second row For third row
|
|
||||||
// (col1val, col2val, col3val), (col1val, col2val, col3val), (col1val, col2val, col3val)
|
|
||||||
// char* values[ARG_MAX];
|
|
||||||
// sqlite3_stmt* out_stmt;
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// if ( gen_sql_insert_stmt(db, &out_stmt, table, colnames, values) ){
|
|
||||||
// return -1;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// if ( ( rc = sqlite3_step(out_stmt) ) == SQLITE_DONE){
|
|
||||||
// return 0;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// checksqlerr(rc, "broken in add_task");
|
|
||||||
// return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Print kanban table
|
// Print kanban table
|
||||||
|
Loading…
Reference in New Issue
Block a user