On Tue, Apr 30, 2013 at 2:06 PM, Stephan Beal <sgb...@googlemail.com> wrote:
> On Tue, Apr 30, 2013 at 8:01 PM, Richard Hipp <d...@sqlite.org> wrote: > >> >> >> On Tue, Apr 30, 2013 at 1:53 PM, Stephan Beal <sgb...@googlemail.com>wrote: >> >>> If you can point in the proper direction i can get this patched tonight. >>> >> >> http://www.fossil-scm.org/fossil/artifact/fba2109f21f?ln=169-189 >> >> Probably that bit of SQL should be separated out into a separate >> subroutine, of course. > > > i've found in schema.c. Do we have an example which i can follow for this, > or shall i just make it up as i go? It seems i'd just need to create e.g. > schema.c:zRepositoryTicketSchema and add that to the list of strings in > db.c: > Seems like a good plan to me. > > void db_create_repository(const char *zFilename){ > db_init_database( > zFilename, > zRepositorySchema1, > zRepositorySchema2, > (char*)0 > ); > db_delete_on_failure(zFilename); > } > > > :-? > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > http://gplus.to/sgbeal > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > -- D. Richard Hipp d...@sqlite.org
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users