From 62edd5a2c867512244455634962d19224fdfb173 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Thu, 3 Mar 2016 00:21:43 +0100 Subject: [PATCH] Register "nocase" as a SQLite noise word. SQLite types include "text nocase" apparently, so add "nocase" as one of the managed noise words. It might be time we handle those the other way round, with a whitelist of expected tokens somewhere in the type definition rather than a blacklist of unknown words to exclude... Anyway, fix #350. --- src/sources/sqlite/sqlite-cast-rules.lisp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sources/sqlite/sqlite-cast-rules.lisp b/src/sources/sqlite/sqlite-cast-rules.lisp index 8a67fdb..175e034 100644 --- a/src/sources/sqlite/sqlite-cast-rules.lisp +++ b/src/sources/sqlite/sqlite-cast-rules.lisp @@ -59,6 +59,7 @@ (tokens (remove-if (lambda (token) (or (member token '("unsigned" "short" "varying" "native" + "nocase" "auto_increment") :test #'string-equal) ;; remove typemod too, as in "integer (8)"