Hello everyone, I'm just trying to grab one column of information and I
keep getting the exception thrown by this snippet of code in
coonection.cpp 

if (lock()) {
                if (throw_excptns) {
                        throw BadQuery("lock failed");
                }
                else {
                        return Result();
                }
        }

Here's what I do to get the error...

void GetEntryNumber(Connection* con){

        Query entry_query = con->query();
        entry_query << "select Entry_Number from db_environment";
        Result EntryNumRow = entry_query.store(); <---THIS IS WHERE IT
ERRORS
        Row Entry = EntryNumRow.fetch_row();
        

        return;

}

My OS = Win XP Pro and im using the new SQL server 5.0.4-beta-max

Thanks!!

Lance

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to