473,406 Members | 2,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

warnings

mysql 4.1.9-standard
how do i find exactly what the warnings are when i only get
Query OK, 1 row affected, 1 warning (0.00 sec)

:-)^2
Jul 23 '05 #1
3 5766
Terry Richards wrote:
how do i find exactly what the warnings are when i only get
Query OK, 1 row affected, 1 warning (0.00 sec)


http://dev.mysql.com/doc/mysql/en/show-warnings.html

Regards,
Bill K.
Jul 23 '05 #2
Bill Karwin wrote:
Terry Richards wrote:
how do i find exactly what the warnings are when i only get
Query OK, 1 row affected, 1 warning (0.00 sec)

http://dev.mysql.com/doc/mysql/en/show-warnings.html

Regards,
Bill K.

been there done that...show warnings:

Query OK, 1 row affected, 4 warnings (0.00 sec)

Query OK, 1 row affected (0.00 sec)

mysql> show warnings;
Empty set (0.01 sec)

where are these warnings stored or how do i get them to go to terminal
is there a way to monitor warnings as the crop up such as
tail -f /var/log/messages ??? i am using macosx 10.2.8 so
/var/log/messages isn't there but is there any other such thing?
:-)^2
Jul 23 '05 #3
Terry Richards wrote:
Bill Karwin wrote:
Terry Richards wrote:
how do i find exactly what the warnings are when i only get
Query OK, 1 row affected, 1 warning (0.00 sec)


http://dev.mysql.com/doc/mysql/en/show-warnings.html

Regards,
Bill K.


been there done that...show warnings:

Query OK, 1 row affected, 4 warnings (0.00 sec)

Query OK, 1 row affected (0.00 sec)

mysql> show warnings;
Empty set (0.01 sec)

where are these warnings stored or how do i get them to go to terminal
is there a way to monitor warnings as the crop up such as
tail -f /var/log/messages ??? i am using macosx 10.2.8 so
/var/log/messages isn't there but is there any other such thing?


shear genius,i inserted the show warnings; in between my script and got:

+---------+------+------------------------------------------------+
| Level | Code | Message |
+---------+------+------------------------------------------------+
| Warning | 1265 | Data truncated for column 'call_time' at row 1 |
+---------+------+------------------------------------------------+
1 row in set (0.00 sec)

:-) ^2
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Kylotan | last post by:
I have the following code: def IntToRandFloat(x): """Given a 32-bit integer, return a float in """ x = int(x) x = int(x << 13) ^ x return...
12
by: Gary | last post by:
Hi! guys, I have a SQL agent job fails because it gets 10 warnings when it runs a stored procedure. These warnings are trivial and can be ignored. Can I make it ignore these warnings and...
30
by: prasanna | last post by:
i will be very thankful if you sent all the errors and warnings regarding to the language C thank you
22
by: John Fisher | last post by:
void f(int p) { } Many (most?) compilers will report that p is unreferenced here. This may not be a problem as f may have to match some common prototype. Typically pointers to functions are...
2
by: funkyj | last post by:
I've been googling around trying to find the answer to this question but all I've managed to turn up is a 2 year old post of someone else asking the same question (no answer though). ...
6
by: pete142 | last post by:
When I compile this code: typedef unsigned char BYTE; BYTE * IpString(unsigned int ip) { static BYTE ipString; ipString = (BYTE) 0xff & (ip >24); ipString = (BYTE) 0xff & (ip >16);
3
by: gil | last post by:
Hi, I'm trying to find the best way to work with compiler warnings. I'd like to remove *all* warnings from the code, and playing around with the warning level, I've noticed that compiling with...
1
by: billiejoex | last post by:
Hi there, into a module of mine I 'warn' a message if a certain situation occurs: def add_anonymous_user(permissions=('r'): if 'w' in p: import warnings warnings.warn("it's not rencommended...
1
by: Robert Singer | last post by:
Platform: winXP, excel 2003 Python 2.5.2 XLWriter 0.4a3 (http://sourceforge.net/projects/pyxlwriter/) Is anyone here using this very nice package, for writing excel files? I'm using it on...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.