Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue HB_SCAN for LOGICAL value #363

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
Entries may not always be in chronological/commit order.
See license at the end of file. */

2024-12-03 01:27 UTC-0300 Lailton Fernando Mariano (lailton/at/paysoft.com.br)
* src/vm/hashfunc.c
! fixed issue hb_scan when we are looking for a logical value as true.
Many thanks to Marcos Gambeta who found the problem.

2024-10-28 16:57 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/rdd/dbf1.c
! reading varchar binary field ("Q:B") from a .dbf
Expand Down
2 changes: 1 addition & 1 deletion src/vm/hashfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ HB_FUNC( HB_HSCAN )
}
else if( HB_IS_LOGICAL( pValue ) )
{
HB_BOOL fValue = hb_itemGetDL( pValue );
HB_BOOL fValue = hb_itemGetL( pValue );
while( nCount-- )
{
PHB_ITEM pItem = hb_hashGetValueAt( pHash, nStart );
Expand Down
Loading