Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | The undocumented feature of resolving RID-looking strings as RIDs has been changed to rid:### instead to avoid surprise, per ML discussion. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
4c80aa2ae106a5b364e43dc1ba27cf94 |
| User & Date: | stephan 2013-08-21 14:24:38.035 |
Context
|
2013-08-22
| ||
| 03:04 | Tcl script code style fix. check-in: 41dbd44b12 user: mistachkin tags: trunk | |
|
2013-08-21
| ||
| 14:24 | The undocumented feature of resolving RID-looking strings as RIDs has been changed to rid:### instead to avoid surprise, per ML discussion. check-in: 4c80aa2ae1 user: stephan tags: trunk | |
| 12:58 | Fix some errors/inconsistancies in SYNTAX error messages check-in: ccc7724a51 user: jan.nijtmans tags: trunk | |
Changes
Changes to src/name.c.
| ︙ | ︙ | |||
246 247 248 249 250 251 252 |
" AND event.objid=tagxref.rid "
" AND event.type GLOB '%q'",
zTag, zType
);
if( rid>0 ) return rid;
/* Undocumented: numeric tags get translated directly into the RID */
| > > | | | | | | | | | | > | 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 |
" AND event.objid=tagxref.rid "
" AND event.type GLOB '%q'",
zTag, zType
);
if( rid>0 ) return rid;
/* Undocumented: numeric tags get translated directly into the RID */
if( memcmp(zTag, "rid:", 4)==0 ){
zTag += 4;
for(i=0; fossil_isdigit(zTag[i]); i++){}
if( zTag[i]==0 ){
if( strcmp(zType,"*")==0 ){
rid = atoi(zTag);
}else{
rid = db_int(0,
"SELECT event.objid"
" FROM event"
" WHERE event.objid=%s"
" AND event.type GLOB '%q'", zTag, zType);
}
}
}
return rid;
}
/*
|
| ︙ | ︙ |