summaryrefslogtreecommitdiff
path: root/connectivity/inc
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-09-27 05:12:35 +0000
committerOcke Janssen <oj@openoffice.org>2001-09-27 05:12:35 +0000
commit3669320426f1c10425864f9e0bf5183e68e5f96e (patch)
treed6d622f7e2433ad3076ac77ab444c080e10d0c7e /connectivity/inc
parent41c10d9579ea58f3148c9faddefaed5e633e4b64 (diff)
#92325# impl new sql functions
Diffstat (limited to 'connectivity/inc')
-rw-r--r--connectivity/inc/connectivity/PColumn.hxx8
-rw-r--r--connectivity/inc/connectivity/sqlparse.hxx6
2 files changed, 10 insertions, 4 deletions
diff --git a/connectivity/inc/connectivity/PColumn.hxx b/connectivity/inc/connectivity/PColumn.hxx
index 1e6dcafca5ab..2b5c31e20dd6 100644
--- a/connectivity/inc/connectivity/PColumn.hxx
+++ b/connectivity/inc/connectivity/PColumn.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: PColumn.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: oj $ $Date: 2001-04-30 10:13:36 $
+ * last change: $Author: oj $ $Date: 2001-09-27 06:12:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -58,6 +58,8 @@
*
*
************************************************************************/
+#ifndef _CONNECTIVITY_PCOLUMN_HXX_
+#define _CONNECTIVITY_PCOLUMN_HXX_
#ifndef _CONNECTIVITY_SDBCX_COLUMN_HXX_
#include "connectivity/sdbcx/VColumn.hxx"
@@ -112,3 +114,5 @@ namespace connectivity
}
}
+#endif //_CONNECTIVITY_PCOLUMN_HXX_
+
diff --git a/connectivity/inc/connectivity/sqlparse.hxx b/connectivity/inc/connectivity/sqlparse.hxx
index 5e4fac4ae42d..fbb7ae9338e5 100644
--- a/connectivity/inc/connectivity/sqlparse.hxx
+++ b/connectivity/inc/connectivity/sqlparse.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sqlparse.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: oj $ $Date: 2001-07-25 06:14:12 $
+ * last change: $Author: oj $ $Date: 2001-09-27 06:12:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -248,6 +248,8 @@ namespace connectivity
// RuleId mit enum, wesentlich effizienter
static sal_uInt32 RuleID(OSQLParseNode::Rule eRule);
+ // compares the _sFunctionName with all known function names and return the DataType of the return value
+ static sal_Int32 getFunctionReturnType(const ::rtl::OUString& _sFunctionName, const OParseContext* pContext = NULL);