nnect. Please check the option settings\n");
}
else {
/* Do something, and delay */
dbi_conn_close(conn);
}
dbi_shutdown();
}
return 0;
}
=== END ===
I am trying to do a task after the database connect, give a delay and
loop around
;t see any increase in dynamic
memory allocation. I check with 'pmap -x ' and observe the
mapping entry of "[ anon ]" in its output.
Thanks for the quick reply!
SK
--
Shakthi Kannan
http://www.shakthimaan.com
---
.fc14.i686
SK
--
Shakthi Kannan
http://www.shakthimaan.com
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super
et_option(conn, "dbname", "test");
dbi_conn_set_option(conn, "encoding", "UTF-8");
if (dbi_conn_connect(conn) < 0) {
printf ("Could not connect\n");
}
else {
dbi_conn_close(conn);
}
}
dbi_shutdow
Hi,
Replying to my own post:
--- On Tue, Aug 9, 2011 at 11:30 AM, Shakthi Kannan
wrote:
| else {
| dbi_conn_close(conn);
| }
\--
With libdbi-0.8.3, libdbi-drivers-0.8.3 adding a sleep(1) after
dbi_conn_close(conn) doesn't cause any leak.
SK
--
Shakthi Kannan
chive/forum.php?forum=libdbi-cvs
Thanks for your prompt response.
SK
--
Shakthi Kannan
http://www.shakthimaan.com
--
uberSVN's rich system and user administration capabilities and model
configuration take the has