Re: [gnome-db] libgda performance issues



On 6/21/07, Piotr Pokora <piotrek pokora gmail com> wrote:
"Vivien Malerba" <vmalerba gmail com> wrote:

> However, the current API could be expanded to allow to pass expected
> GType for the columns, which would then eliminate completely the
> process of column type determination (which is in fact a problem for
> SQLite).

Can you provide some example?

SQLite allows one to store different types of data for a single
column, which is obviously a problem (Using SQLite it's up to the
programmer to know beforehand the type he wants).

As for the API extension, it could be possible to add some parameters
to the execute() function implemented within each provider to specify
what GType is expected for each column of the SELECT query being
executed (note that the current operating mode would still be
useable).

Vivien



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]