Patch level : 10.0
Files correlati : Ricompilazione Demo : [ ] Commento : Trasformata stringa chiave temporanea da const char* a TString256 git-svn-id: svn://10.65.10.50/trunk@17501 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
5cacd2957b
commit
40364c1a90
@ -1140,7 +1140,7 @@ bool TCursor::call_filterfunction(const TRelation * r, TRecnotype recno) const
|
||||
if (_filterfunction)
|
||||
{
|
||||
// memorizzo la chiave prima di eventuali spostamenti
|
||||
const char * s0 = DB_index_getkey(file().handle());
|
||||
const TString256 s0 = DB_index_getkey(file().handle());
|
||||
ok = _filterfunction(_if);
|
||||
// ripristino la chiave dopo eventuali spostamenti
|
||||
const int handle = file().handle();
|
||||
@ -1155,7 +1155,7 @@ bool TCursor::filtercursor(TRecnotype recno)
|
||||
if (update_relation())
|
||||
{
|
||||
// memorizzo la chiave prima di eventuali spostamenti
|
||||
const char * s0 = DB_index_getkey(file().handle());
|
||||
const TString256 s0 = DB_index_getkey(file().handle());
|
||||
|
||||
_if->update(-filter_limit());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user