Thanks, it's best solution! There are a lot of situations when are
useful databases with different page sizes.

2010/4/30 Black, Michael (IS) <michael.bla...@ngc.com>:
> Add a debug statement to show the page sizes being used here so you know what 
> to set the default size to.
>
>  /* Catch the case where the destination is an in-memory database and the
>  ** page sizes of the source and destination differ.
>  */
>  if( nSrcPgsz!=nDestPgsz && sqlite3PagerIsMemdb(sqlite3BtreePager(p->pDest)) 
> ){
>    fprintf(stderr,"nSrcPgsz=%d    nDestPgSz=\n",nSrcPgsz,nDestPgSz);
>    rc = SQLITE_READONLY;
>  }

-- 
Best regards, Alexey Pechnikov.
http://pechnikov.tel/
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to