summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorHans Raaf <hara@oderwat.de>2015-02-11 21:03:24 +0100
committerHans Raaf <hara@oderwat.de>2015-02-11 21:38:55 +0100
commitceffdebebb4c81a716908f60749aee26e2b1f232 (patch)
treec4718fab17e3092240ff061d458d9f80e39bb61e
parent743ad639d48082c58685929c68b1463332552e7a (diff)
downloadNim-ceffdebebb4c81a716908f60749aee26e2b1f232.tar.gz
Corrected warnings about deprecated names
I got warning about deprecated names here. I also know that other names probably need to change (T/P prefixes) but I am unsure about the exact rules. I may do that later if you like.
-rw-r--r--lib/impure/db_mysql.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/impure/db_mysql.nim b/lib/impure/db_mysql.nim
index 968a2923a..dab84c2d5 100644
--- a/lib/impure/db_mysql.nim
+++ b/lib/impure/db_mysql.nim
@@ -16,11 +16,11 @@ type
   TDbConn* = PMySQL    ## encapsulates a database connection
   TRow* = seq[string]  ## a row of a dataset. NULL database values will be
                        ## transformed always to the empty string.
-  EDb* = object of EIO ## exception that is raised if a database error occurs
+  EDb* = object of IOError ## exception that is raised if a database error occurs
 
   TSqlQuery* = distinct string ## an SQL query string
 
-  FDb* = object of FIO ## effect that denotes a database operation
+  FDb* = object of IOEffect ## effect that denotes a database operation
   FReadDb* = object of FDb   ## effect that denotes a read operation
   FWriteDb* = object of FDb  ## effect that denotes a write operation