[mythtv] MySQL problem

Jason Ramey webmaster at permutation.org
Sun Jan 26 17:06:53 EST 2003


Hmmm, now I can't build it. The error I'm getting is:

g++ -c -pipe -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wall
-W -O6 -march=pentiumpro -fomit-frame-pointer -funroll-loops
-fexpensive-optimizations -finline-functions -D_REENTRANT -fPIC
-D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DEXTRA_LOCKING -DMMX
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/local/include
-I/usr/share/qt/include -I/usr/share/qt/mkspecs/linux-g++ -o
mythcontext.o mythcontext.cpp
mythcontext.cpp:499: no `class QString MythContext::DBQuote(const
QString &)' member function declared in class `MythContext'
mythcontext.cpp: In method `class QString MythContext::DBQuote(const
QString &)':
mythcontext.cpp:499: warning: unused parameter `const class QString &
str'
mythcontext.cpp:501: warning: control reaches end of non-void function
`MythContext::DBQuote(const QString &)'



-----Original Message-----
From: mythtv-dev-bounces at snowman.net
[mailto:mythtv-dev-bounces at snowman.net] On Behalf Of Isaac Richards
Sent: Sunday, January 26, 2003 4:57 PM
To: Development of mythtv
Subject: Re: [mythtv] MySQL problem


On Sunday 26 January 2003 04:45 pm, Jason Ramey wrote:
> Ok, did that. Here's what I got:
>
> Driver error was:
> QMYSQL3: Unable to execute query
> Database error was:
> You have an error in your SQL syntax near 'Jan 27 22:00:00 2003, Mon 
> Jan 27 22:30:00 2003, "FOX News at 10", "", "", "News"' at line 1 DB 
> Error (program insert):
> was:
> INSERT INTO program
> (chanid,starttime,endtime,title,subtitle,description,category)
> VALUES(1009, Mon Jan 27 22:30:00 2003, Mon Jan 27 23:00:00 2003, "FOX 
> 41 Sports", "", "", "Talk");

Ah, my bad.  Does it work now?

Isaac
_______________________________________________
mythtv-dev mailing list
mythtv-dev at snowman.net
http://www.snowman.net/mailman/listinfo/mythtv-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3271 bytes
Desc: not available
Url : /pipermail/attachments/20030126/efefbcc8/smime.bin


More information about the mythtv-dev mailing list