> statement is only doing pointer arithmetic

Apparently it is so. But it is not obvious. This code would be cleaner and
faster:

...
    if( pPage ){
      pcache1PinPage(pPage);
      goto fetch_out;
    }

    if( createFlag==0 ){
      return NULL;
...

Have a good day.

With best regards,
   Jan Slodicka
   Resco



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to