[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/koffice/1.6/koffice/kexi/kexidb
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2008-07-09 21:35:14
Message-ID: 1215639314.063137.13728.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 830164 by staniek:
backport of r827873 (trunk): Unique fields are indexed fields.
M +3 -1 field.cpp
--- branches/koffice/1.6/koffice/kexi/kexidb/field.cpp #830163:830164
@@ -542,8 +542,10 @@
{
if(isUniqueKey() != u) {
m_constraints = static_cast<Field::Constraints>(m_constraints ^ Field::Unique);
- if (u)
+ if (u) { //also set implied constraints
setNotNull(true);
+ setIndexed(true);
+ }
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic