[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/predicate/Predicate
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2008-09-02 22:42:30
Message-ID: 1220395350.336756.16149.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 856469 by staniek:
forward port of spelling fixes r856358 by fmerz
M +1 -1 Connection.cpp
M +1 -1 Connection.h
M +1 -1 Utils.h
M +8 -8 drivers/oracle/oracleconnection.cpp
M +1 -1 drivers/oracle/oraclecursor.cpp
M +2 -2 drivers/xbase/XbaseExport.cpp
--- branches/work/predicate/Predicate/Connection.cpp #856468:856469
@@ -1483,7 +1483,7 @@
driver(), options.identifierEscaping));
const QVector<int> pkeyFieldsOrder(querySchema.pkeyFieldsOrder());
if (orderByString.isEmpty() && !pkeyFieldsOrder.isEmpty()) {
- //add automatic ORDER BY if there is no explicity defined (especially helps \
when there are complex JOINs) + //add automatic ORDER BY if there is no \
explicitly defined (especially helps when there are complex JOINs) OrderByColumnList \
automaticPKOrderBy;
const QueryColumnInfo::Vector fieldsExpanded(querySchema.fieldsExpanded());
foreach(int pkeyFieldsIndex, pkeyFieldsOrder) {
--- branches/work/predicate/Predicate/Connection.h #856468:856469
@@ -936,7 +936,7 @@
that "Predicate already knows" at its level.
If you cannot test anything, just leave default implementation (that returns \
true).
- Result of this method is used as an addtional chance to check for \
isDatabaseUsed(). + Result of this method is used as an additional chance to \
check for isDatabaseUsed().
Do not call this method from your driver's code, it should be used at KexiDB
level only.
*/
--- branches/work/predicate/Predicate/Utils.h #856468:856469
@@ -237,7 +237,7 @@
within a connection \a conn. The statement should be of type SELECT.
For SQL data sources it does not fetch any records, only "COUNT(*)"
SQL aggregation is used at the backed.
- -1 is returned if error occured. */
+ -1 is returned if error occurred. */
int rowCount(Connection &conn, const QString& sql);
//! @todo perhaps use quint64 here?
--- branches/work/predicate/Predicate/drivers/oracle/oracleconnection.cpp \
#856468:856469 @@ -87,9 +87,9 @@
}
/*
- As databases doesnt exist in Oracle we should redefine the concept
+ As databases does not exist in Oracle we should redefine the concept
on purpose of cheating kexi.
- The only database wich can exist is the current user.
+ The only database which can exist is the current user.
That database exists if it contains kexi tables.
*/
bool OracleConnection::drv_getDatabasesList( QStringList &list )
@@ -124,8 +124,8 @@
}
/*
- * Oracle doesnt offer a list of db (the equivalent would be user schemas)
- * So,it returns true if dbName is the current Schema
+ * Oracle does not offer a list of db (the equivalent would be user schemas)
+ * So, it returns true if dbName is the current Schema
*/
bool OracleConnection::drv_createDatabase( const QString &dbName) {
KexiDBDrvDbg << dbName << endl;
@@ -204,7 +204,7 @@
}
/*
- * Drops the database acording our refeinition is droping all KEXI__ tables,
+ * Drops the database according our refeinition is droping all KEXI__ tables,
* secuences and triggers and tables created inside kexi
*/
bool OracleConnection::drv_dropDatabase( const QString& /*dbName*/)
@@ -267,13 +267,13 @@
Extract from Oracle documentation:
As soon as you connect to the oralce database, a transaction begins.
Once the transaction begins, every SQL DML statement you issue subsequently
- becomes a part of this transaction (DDL are autocommited).
+ becomes a part of this transaction (DDL are autocommitted).
A transaction ends when you disconnect from the database,
or when you issue a COMMIT or ROLLBACK command.
Autonomus transactions must be defined in PL/SQL blocks and
has no link to the calling transaction,
- so only commited data can be shared by both transactions.
+ so only committed data can be shared by both transactions.
*/
TransactionData* OracleConnection::drv_beginTransaction()
{
@@ -396,7 +396,7 @@
}
/*
* RowID in Oracle is not a number, is an alphanumeric string, so we have an
- * extra column on every single table wich is called ROW_ID and a global
+ * extra column on every single table which is called ROW_ID and a global
* sequence. The value of ROW_ID is set on drv_afterInsert
*/
Q_ULLONG OracleConnection::drv_lastInsertRowID()
--- branches/work/predicate/Predicate/drivers/oracle/oraclecursor.cpp #856468:856469
@@ -211,7 +211,7 @@
Not as with sqlite, the DB library doenst returns all values as
strings. So we cannot use cstringtoVariant, isn't it?
PD: It seems that you can fetch them as strings but I'm lazy to change this
- (If it works dont touch if)
+ (If it works do not touch if)
*/
bool OracleCursor::drv_storeCurrentRow(RecordData& data) const
{
--- branches/work/predicate/Predicate/drivers/xbase/XbaseExport.cpp #856468:856469
@@ -117,7 +117,7 @@
if (fieldType == XB_MEMO_FLD) {
#ifdef XB_MEMO_FIELDS
- // we use size()+1 as size to accomodate `\0`
+ // we use size()+1 as size to accommodate `\0`
table->UpdateMemoData(i, stringData.size()+1, stringData.constData(), F_SETLKW \
); #else
PreDrvDbg<<"XB_MEMO_FIELDS support disabled during compilation of XBase \
libraries"; @@ -132,7 +132,7 @@
PreDrvDbg<<"Invalid data "<<stringData;
return false;
default:
- PreDrvDbg<<"Error number "<<returnCode<<" has occured";
+ PreDrvDbg<<"Error number "<<returnCode<<" has occurred";
return false;
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic