В Пнд, 19.04.2004, в 16:16, Ilja Booij пишет: > On Fri, 2004-04-16 at 21:47, Anton Nekhoroshih wrote: > > I think better to change function > > int db_get_message (u64_t id) on u64_t db_get_message(u64_t id) the > > error returns length of the message or if error -1 > > or on int db_get_message (u64_t id, u64_t *len) > > > > How think? > > For many other functions, we now use the convention to return an int as > status code, and return everything else as call-by-reference, so the > form: > int db_get_message(u64_t id, u64_t *len) seems the best to me. >
Then I shall wait while you realize it in MySQL and PgSQL then we can remove ifdef ORACLE. > > _______________________________________________ > Dbmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail >
