X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=TODO;h=795ec6a6d6d441ee916e4cce90c06816582654d3;hp=7c9ebebcee84a27264b4e929b41f9c69b8ad61ed;hb=c7cbd01b259a1846a5e172d69c956b836b14febb;hpb=035a6fe046ae78bb10c7a7d039ed1ce1028e8424 diff --git a/TODO b/TODO index 7c9ebeb..795ec6a 100644 --- a/TODO +++ b/TODO @@ -1,17 +1,12 @@ TESTS TO ADD -* CACHE-TABLE-QUERIES * Test that ":db-kind :key" adds an index for that key. This is complicated by different backends showing autogenerated primary key in different ways. * :db-constraint tests -* test *db-auto-sync* -* for-each-row macro -* owner phrases for postgresql and oracle backends * Number and Char field types -* Add test case for return type of (setf slot-value-using-class) * symbol slot * generalized-boolean slot -* column and table constraints in CREATE-TABLE and DEF-VIEW-CLASS. +* tests for db-reader and db-writer OPTIMIZATIONS @@ -20,10 +15,13 @@ OPTIMIZATIONS current behaviours using single database queries. * Possible use of cached attribute type information for operations which insert/update records as mentioned in the CommonSQL user guide. +* Extend caching of generated SQL strings to more complex expressions which + are likely to be repeatedly executed many times. POSSIBLE EXTENSIONS * improve large object api and extend to databases beyond postgresql * add support for prepared statements - +RACE CONDITIONS +* sql/databases.lisp: *connected-databases* is shared globally but not modified in a threadsafe manner.