<br><br><div class="gmail_quote">On Jan 21, 2008 5:55 PM, Michael Gebetsroither <<a href="mailto:gebi@sbox.tugraz.at">gebi@sbox.tugraz.at</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
* Amritpal Singh <<a href="mailto:amritpal.singh@cellebrum.com">amritpal.singh@cellebrum.com</a>> wrote:<br><br>> Now, my problem is , i don't want to change the core of my application whic=<br><div class="Ih2E3d">
> h is already encoded in 'C' , so need to access 'Mnesia DB' from 'C'.<br>> As per my findings, there are no ODBC drivers available for Mnesia.<br></div>> So, think need to have some kind of external interface to 'Erlang' like 'Er=
<br><div class="Ih2E3d">> l_Interface' which i can use from 'C' program to interact with 'Mnesia DB'.<br><br></div>If you have used sql before to store your temporary data, whats about<br>sqlite? Just open an sqlite db with name ":memory:" and it creates an
<br>complete in-memory db easily accessible from your c program.</blockquote><div><br>Indeed SQLite usage would be very close to MySQL.<br>Also BerkeleyDB storage (or memcacheddb) would be very close to mnesia (I have no clue at all on BDB distribution capabilities).
<br><br>Could someone explain where a C binding to Mnesia is really different? is it in for distribution aspect?<br><br>thanks<br>ludo<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>cu,<br>michael<br><font color="#888888">--<br>It's already too late!<br></font><div><div></div><div class="Wj3C7c"><br>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">
erlang-questions@erlang.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></div></div></blockquote></div><br>