File: TODO

package info (click to toggle)
guile-simplesql 2.3.2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,672 kB
  • ctags: 97
  • sloc: sh: 8,413; ansic: 834; lisp: 42; makefile: 23
file content (38 lines) | stat: -rw-r--r-- 1,114 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
* Find a Mac to build on and check strptime.

* ODBC support

* Use #<unspecified> for NULL?

* Load backends dynamically, on request.

* scm_must_malloc check - see gc-mistakes

Definitely broken is the use of scm_take_str in
sql_escape. scm_take_str is also discouraged in 1.7.

* Unknown types should be converted the same way as BLOB's,
  if length is known for sure.

* configure should check for alloca, else replace by malloc

* sql-query should convert numbers, strings, bytevectors, lists
  - list of strings (SET)
    make comma seperated list, strip commas from the strings if any
  - bytevectors SQL-escaped

* Character set support.
  - (string->utf8-u8vec str) (utf8-u8vec->string u8v)
    (define (sql-utf8string str)
      (sql-escape (string->utf8-u8vec str)))
    - make sql-utf8string efficient (fold into one C function)
  - sql-escape should accept both types, and return the same type
  - sql-query should accept any number of both strings *and* bytevectors
    (sql-query "INTO frob INSERT ("
               (sql-utf8string "rdal")
               ")")


Local variables:
mode: outline
End: