Skip to content
Snippets Groups Projects
Commit 5ff958a5 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix brain dead count (part of ITS#2641)

parent 23a98937
No related branches found
No related tags found
No related merge requests found
......@@ -236,7 +236,10 @@ backsql_count_children(
char *end;
*nchildren = strtol( row.cols[ 0 ], &end, 0 );
if ( end[ 0 ] != '\0' ) {
if ( end[ 0 ] != '\0' && end[0] != '.' ) {
/* FIXME: braindead RDBMSes return
* a fractional number from COUNT!
*/
res = LDAP_OTHER;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment