[Mono-bugs] [Bug 75393][Maj] New - TSQL end of statement marker ; invalid

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 27 13:40:31 EDT 2005


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 s at rusek.org.

http://bugzilla.ximian.com/show_bug.cgi?id=75393

--- shadow/75393	2005-06-27 13:40:31.000000000 -0400
+++ shadow/75393.tmp.21562	2005-06-27 13:40:31.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 75393
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: Debian sid
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Data.SqlClient
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: s at rusek.org               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TSQL end of statement marker ; invalid
+
+Description of Problem:
+In TSQL a ; may optionally be used to mark the end of a statement, but 
+this is not allowed.
+
+Steps to reproduce the problem:
+1. compile test case
+2. run test case
+3. paste in a connection string
+4. type in the name of a table in the db that the connectstring refers to.
+
+Actual Results:
+It attempts to execute this query string.Format("SELECT * from [{0}];", 
+tablename), but an exception is thrown and a stack trace is printed, 
+because of the semicolon in the query. if you remove the semicolon 
+everything runs fine.
+
+Expected Results:
+the query should run successfully, and print the word "SUCCESS"
+
+How often does this happen? 
+Every time


More information about the mono-bugs mailing list