Merge branch 'master' into topic/constructor_rewrite
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / SQLMaker / SQLite.pm
diff --git a/lib/DBIx/Class/SQLMaker/SQLite.pm b/lib/DBIx/Class/SQLMaker/SQLite.pm
new file mode 100644 (file)
index 0000000..acf0337
--- /dev/null
@@ -0,0 +1,11 @@
+package # Hide from PAUSE
+  DBIx::Class::SQLMaker::SQLite;
+
+use base qw( DBIx::Class::SQLMaker );
+
+#
+# SQLite does not understand SELECT ... FOR UPDATE
+# Disable it here
+sub _lock_select () { '' };
+
+1;