search for: sql_queri

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

Did you mean: sql_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
2004 Aug 06
2
Client auth with mysql
Hi, I have a customer (a small french music producer) who's putting up a "paid" radio, it's not really paid, because you don't buy an access, you just by a cd, and you get radio access. So, I needed to check access to the radio, in an intelligent manner :-) A collegue of mine started doing things, he ended up with scripts adding ip's to the server's firewall... I
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
Mathieu, This is a great idea, and I'm sure many people would like to take advantage of it. Since the release of 2.0.0, we've added an "authenticator" framework which allows us to create authentication modules for handling listener (client-based) authentication. We currently have one authentication module (htpasswd) which uses a simple file to store users and encrypted
2004 Aug 06
0
Client auth with mysql
+-Le 14/05/2004 15:40 -0400, Amy Beam a dit : | Hello Mathieu, | | This is a great idea! So great that I have been trying to do it for a | while now. However my knowledge of all the ins and outs of Icecast are | lacking. I would love to implement your solution here hopefully you can | answer a few questions for me! | | 1. What version of Icecast should I make these changes to? It looks like |
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
+-Le 14/05/2004 23:10 -0400, Amy Beam a dit : | I now understand your code much better after taking a day to look at it. I | am going to try and implement this over the weekend. | | I do have 1 question now that I hope you can point me in the correct | direction to. Maybe I overlooked it. But where would I determine if I | should open a new stream when someone logs in with the same user name if |
2010 Apr 13
3
Dovecot 2.0.beta4: auth-worker keeps crashing
Centos 5.4 x64, icc hg rev 11147 log: Apr 14 01:16:17 auth: Info: mysql: Connected to 127.0.0.1 (mail) Apr 14 01:16:25 imap-login: Info: Disconnected (auth failed, 2 attempts): user=<webmaster@>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Apr 14 01:16:40 master: Error: service(auth-worker): child 8642 killed with signal 11 (core dumps disabled) Apr 14 01:16:40 auth: Error: auth
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,
2007 Jun 03
3
Dovecot Authentication Problem - Help pls!
Hello List, This is dovecot 1.0.0 on FreeBSD 4.11-STABLE. I did not provide this information before:-) 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
2012 Feb 13
6
Dovecot v2.2 plans
Here's a list of things I've been thinking about implementing for Dovecot v2.2. Probably not all of them will make it, but I'm at least interested in working on these if I have time. Previously I've mostly been working on things that different companies were paying me to work on. This is the first time I have my own company, but the prioritization still works pretty much the same
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 =