search for: sql_query

Displaying 13 results from an estimated 13 matches for "sql_query".

Did you mean: mysql_query
2014 Sep 03
0
Assertion failed in sql_transaction_commit with pgsql driver
Hi! Next code from driver_pgsql_transaction_commit cause assertion failed in do_query function - i_assert(SQL_DB_IS_READY(&db->api)) } else { /* multiple queries, use a transaction */ ctx->refcount++; sql_query(_ctx->db, "BEGIN", transaction_begin_callback, ctx); <- first sql_query changes db state to SQL_DB_STATE_BUSY while (_ctx->head != NULL) { ctx->refcount++; sql_query(_ctx->db, _ctx->head->query,...
2004 Aug 06
2
Client auth with mysql
...iff> it adds some config params to a <mount> section : <sql_server>sql-server</sql_server> <sql_login>login</sql_login> <sql_password>password</sql_password> <sql_dbname>database</sql_dbname> <sql_field>url-field</sql_field> <sql_query>select cle from client where radio = 1 and cle = '%s'</sql_query> which are passed to the source it correspond to. and when you call a source say, /foo.mp3?url-field=something It'll put the something in the sql query. It should be connection loss tolerant, but I'm not su...
2009 Jul 23
1
How can I paginate records find by using find_by_sql
Hello everyone, I forced to use @user = User.find_by_sql sql_query in a particular situation in my project. Now I want to paginate the records. How can I paginate the records? Please help me. Thanks in advance -- Posted via http://www.ruby-forum.com/.
2004 Aug 06
0
Client auth with mysql
...params to a <mount> section : > ><sql_server>sql-server</sql_server> ><sql_login>login</sql_login> ><sql_password>password</sql_password> ><sql_dbname>database</sql_dbname> ><sql_field>url-field</sql_field> ><sql_query>select cle from client where radio = 1 and cle = '%s'</sql_query> > >which are passed to the source it correspond to. > >and when you call a source say, /foo.mp3?url-field=something >It'll put the something in the sql query. > >It should be connection loss...
2004 Aug 06
0
Client auth with mysql
...lt;mount> section : |> |> <sql_server>sql-server</sql_server> |> <sql_login>login</sql_login> |> <sql_password>password</sql_password> |> <sql_dbname>database</sql_dbname> |> <sql_field>url-field</sql_field> |> <sql_query>select cle from client where radio = 1 and cle = | '%s'</sql_query> |> |> which are passed to the source it correspond to. |> |> and when you call a source say, /foo.mp3?url-field=something |> It'll put the something in the sql query. |> |> It should be...
2007 Sep 29
1
(no subject)
Hello I am anirudh, I need help to write script to fetch detail like ips, speedlimit from mysql and add htb rules at the starting of the server. it is for a small isp i am working for. can any one help me out!, i had tried but fail to limit speed -- Anirudh Chowdary _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl
2004 Aug 06
0
Client auth with mysql
...|> <sql_server>sql-server</sql_server> |> |> <sql_login>login</sql_login> |> |> <sql_password>password</sql_password> |> |> <sql_dbname>database</sql_dbname> |> |> <sql_field>url-field</sql_field> |> |> <sql_query>select cle from client where radio = 1 and cle = |> | '%s'</sql_query> |> |> |> |> which are passed to the source it correspond to. |> |> |> |> and when you call a source say, /foo.mp3?url-field=something |> |> It'll put the something in the s...
2010 Apr 13
3
Dovecot 2.0.beta4: auth-worker keeps crashing
...(gdb) bt full #0 0x000000000041782f in auth_stream_reply_find () No symbol table info available. #1 0x0000000000417d97 in lookup_credentials_callback () No symbol table info available. #2 0x00000000004223a2 in passdb_handle_credentials () No symbol table info available. #3 0x0000000000425b1a in sql_query_callback () No symbol table info available. #4 0x0000000000430494 in driver_mysql_query () No symbol table info available. #5 0x000000000042f306 in sql_query () No symbol table info available. #6 0x0000000000425dcb in sql_lookup_credentials () No symbol table info available. #7 0x0000000000418c...
2006 May 03
4
default values
Hello, I''m working with a postgresql table CREATE TABLE elements ( id serial primary key, c1 text default f1(), ... cN text default fN() ); But if I use de lines @element = Element.new @element.save the values that element take are the nextval in the id field and nules in all the other fields. How can I get the defaults? (but without rewriting the
2006 Jul 15
3
How bad is it to have 7 joins in my find_by_sql?
My question is whether there''s a more idiomatic rails way of structuring this query or of redoing the underlying models. First, the ugly find_by_sql code, which is the method to generate an atom feed: def atom items_per_feed = 15 sql_query = "SELECT activities.*, users.real_name AS real_name, accounts.last_scraped_at AS last_scraped_at, accounts.total_miles as account_miles, origins.name AS origin_name, origins.code AS origin_code, destinations.name AS destination_name, destinations.code AS destination_...
2007 Jun 03
3
Dovecot Authentication Problem - Help pls!
...found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done. #0 0x805dc00 in userdb_blocking_lookup () (gdb) bt #0 0x805dc00 in userdb_blocking_lookup () #1 0x805dd50 in userdb_blocking_lookup () #2 0x806175a in sql_drivers_register_all () #3 0x8060d1c in sql_query () #4 0x805de62 in userdb_blocking_lookup () #5 0x8055724 in auth_stream_is_empty () #6 0x80557f4 in auth_stream_is_empty () #7 0x8055894 in auth_stream_is_empty () #8 0x80668ac in io_loop_handler_run () #9 0x80662a1 in io_loop_run () #10 0x805770f in main () #11 0x804fd52 in _start () (gdb)...
2012 Feb 13
6
Dovecot v2.2 plans
...configs could be merged. One way could be: sql_db sqlmails { # most settings from dovecot-sql.conf.ext, except for queries driver = mysql connect = ... } ldap_db ldapmails { # most settings from dovecot-ldap.conf.ext, except attributes/filters } passdb { driver = sql db = sqlmails sql_query = select password from users where username = '%u' } passdb { driver = ldap db = ldapmails ldap_attributes { password = %{ldap:userPassword} } ldap_filter = ... } The sql_db {} and ldap_db {} would be generic enough to be used everywhere (e.g. dict-sql), not just for passdb/u...
2007 May 30
1
Dovecot Authentication Problem (REVISED)
Hello List, I am back again and I think I am edging closer to getting a solution. I have done some modifications and now dovecot gives me a different error message than before.... Here is what I have for the password_query and user_query password_query = SELECT popbox.cleartext AS password FROM popbox, domain \ WHERE popbox.local_part = 'eddie' AND popbox.domain_name =