зеркало из https://github.com/mono/mail-archives.git
114 строки
4.0 KiB
HTML
114 строки
4.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 69582][Wis] New - Wrong dates returned through SQL query
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="022656.html">
|
|
<LINK REL="Next" HREF="022658.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 69582][Wis] New - Wrong dates returned through SQL query
|
|
</H1>
|
|
<B>bugzilla-daemon@bugzilla.ximian.com
|
|
</B>
|
|
<A HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 69582][Wis] New - Wrong dates returned through SQL query">bugzilla-daemon@bugzilla.ximian.com
|
|
</A><BR>
|
|
<I>Tue, 16 Nov 2004 19:27:18 -0500 (EST)</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="022656.html">[Mono-bugs] [Bug 69142][Nor] Changed - [PPC] mini rcheck has failures.
|
|
</A></li>
|
|
<LI> Next message: <A HREF="022658.html">[Mono-bugs] [Bug 68709][Cri] Changed - Web service Global.Application_End is not being called when web service shuts down.
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#22657">[ date ]</a>
|
|
<a href="thread.html#22657">[ thread ]</a>
|
|
<a href="subject.html#22657">[ subject ]</a>
|
|
<a href="author.html#22657">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
|
|
URL shown below and enter your comments there.
|
|
|
|
Changed by <A HREF="mailto:scott.grosch@intel.com.">scott.grosch@intel.com.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=69582">http://bugzilla.ximian.com/show_bug.cgi?id=69582</A>
|
|
|
|
--- shadow/69582 2004-11-16 19:27:18.000000000 -0500
|
|
+++ shadow/69582.tmp.3587 2004-11-16 19:27:18.000000000 -0500
|
|
@@ -0,0 +1,50 @@
|
|
+Bug#: 69582
|
|
+Product: Mono: Runtime
|
|
+Version: unspecified
|
|
+OS: RHEL 2.1
|
|
+OS Details: 2.4.9-45lxset12smp
|
|
+Status: NEW
|
|
+Resolution:
|
|
+Severity: Unknown
|
|
+Priority: Wishlist
|
|
+Component: misc
|
|
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+ReportedBy: <A HREF="mailto:Scott.Grosch@intel.com">Scott.Grosch@intel.com</A>
|
|
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+TargetMilestone: ---
|
|
+URL:
|
|
+Cc:
|
|
+Summary: Wrong dates returned through SQL query
|
|
+
|
|
+Please fill in this template when reporting a bug, unless you know what
|
|
+you are doing.
|
|
+Description of Problem:
|
|
+
|
|
+Using a call into the SQL server that returns a SmallDateTime object, I'm
|
|
+getting incorrect results. I've run the stored procedure via Microsoft's
|
|
+SQL Query Analyzer and on UNIX via the FreeTDS libraries, both of which
|
|
+return the date I expect.
|
|
+
|
|
+When I run my app on windows directly I also get the expected dates.
|
|
+When I run via mono on my Linux box, I'm getting dates in the year 1825
|
|
+instead of 2004 and 2005
|
|
+
|
|
+
|
|
+Steps to reproduce the problem:
|
|
+1. Create a connect, create a command object, call stored procedure
|
|
+2. Use a SqlDataReader and call reader.GetDateTime(1)
|
|
+3. Print the date
|
|
+
|
|
+Actual Results:
|
|
+
|
|
+06/03/1826
|
|
+
|
|
+Expected Results:
|
|
+
|
|
+11/7/2005
|
|
+
|
|
+How often does this happen?
|
|
+
|
|
+Every time I make this call
|
|
+
|
|
+Additional Information:
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="022656.html">[Mono-bugs] [Bug 69142][Nor] Changed - [PPC] mini rcheck has failures.
|
|
</A></li>
|
|
<LI> Next message: <A HREF="022658.html">[Mono-bugs] [Bug 68709][Cri] Changed - Web service Global.Application_End is not being called when web service shuts down.
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#22657">[ date ]</a>
|
|
<a href="thread.html#22657">[ thread ]</a>
|
|
<a href="subject.html#22657">[ subject ]</a>
|
|
<a href="author.html#22657">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|