summaryrefslogtreecommitdiff
path: root/drivers/adodb-sqlite.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/adodb-sqlite.inc.php')
-rw-r--r--drivers/adodb-sqlite.inc.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/adodb-sqlite.inc.php b/drivers/adodb-sqlite.inc.php
index 5dad4672..94af003d 100644
--- a/drivers/adodb-sqlite.inc.php
+++ b/drivers/adodb-sqlite.inc.php
@@ -348,6 +348,29 @@ class ADODB_sqlite extends ADOConnection {
}
return $indexes;
}
+
+ /*
+ * Returns the maximum size of a MetaType C field. Because of the
+ * database design, sqlite places no limits on the size of data inserted
+ *
+ * @return int
+ */
+ function charMax()
+ {
+ return ADODB_STRINGMAX_NOLIMIT;
+ }
+
+ /*
+ * Returns the maximum size of a MetaType X field. Because of the
+ * database design, sqlite places no limits on the size of data inserted
+ *
+ *
+ * @return int
+ */
+ function textMax()
+ {
+ return ADODB_STRINGMAX_NOLIMIT;
+ }
}