From 832dc48f896d84110f7e91e9abb0d5bc1244db56 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 19 Nov 2012 00:16:25 +0100 Subject: [PATCH] fixes #250 --- src/db_sqlite.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db_sqlite.nim b/src/db_sqlite.nim index e9864c5991..fbc097784b 100755 --- a/src/db_sqlite.nim +++ b/src/db_sqlite.nim @@ -20,8 +20,8 @@ type TSqlQuery* = distinct string ## an SQL query string FDb* = object of FIO ## effect that denotes a database operation - FReadDb* = object of FReadIO ## effect that denotes a read operation - FWriteDb* = object of FWriteIO ## effect that denotes a write operation + FReadDb* = object of FDB ## effect that denotes a read operation + FWriteDb* = object of FDB ## effect that denotes a write operation proc sql*(query: string): TSqlQuery {.noSideEffect, inline.} = ## constructs a TSqlQuery from the string `query`. This is supposed to be