git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b454f46
)
Allow up to 255 chars in indexed columns as needed with owner, host, and
author
Zdeněk Salvet
<salvet@ics.muni.cz>
Tue, 28 Aug 2007 10:16:48 +0000
(10:16 +0000)
committer
Zdeněk Salvet
<salvet@ics.muni.cz>
Tue, 28 Aug 2007 10:16:48 +0000
(10:16 +0000)
tag types (location and destination may be still truncated), use
variable-length SQL data type.
org.glite.lb.server/src/bkindex.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/bkindex.c
b/org.glite.lb.server/src/bkindex.c
index
16e7da3
..
153d6b0
100644
(file)
--- a/
org.glite.lb.server/src/bkindex.c
+++ b/
org.glite.lb.server/src/bkindex.c
@@
-280,7
+280,8
@@
static char *db_col_type(const edg_wll_QueryRec *r)
case EDG_WLL_QUERY_ATTR_USERTAG:
case EDG_WLL_QUERY_ATTR_HOST:
case EDG_WLL_QUERY_ATTR_CHKPT_TAG:
- return "char(250) binary null";
+ /* XXX: 255 may not be enough for location or destination */
+ return "varchar(255) binary null";
case EDG_WLL_QUERY_ATTR_TIME:
return "datetime null";