Title: Issuing a delete to an empty table fails · Issue #5 · Azure/node-sqlserver · GitHub
Open Graph Title: Issuing a delete to an empty table fails · Issue #5 · Azure/node-sqlserver
X Title: Issuing a delete to an empty table fails · Issue #5 · Azure/node-sqlserver
Description: When attempting to issue a delete to a table that contains no rows, C++ assertions are thrown from the driver (C++ runtime libarary). Below is the delete I'm trying to execute - currently I have to use a guard query. sql.query(conn, 'SEL...
Open Graph Description: When attempting to issue a delete to a table that contains no rows, C++ assertions are thrown from the driver (C++ runtime libarary). Below is the delete I'm trying to execute - currently I have to...
X Description: When attempting to issue a delete to a table that contains no rows, C++ assertions are thrown from the driver (C++ runtime libarary). Below is the delete I'm trying to execute - currently I hav...
Opengraph URL: https://github.com/Azure/node-sqlserver/issues/5
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issuing a delete to an empty table fails","articleBody":"When attempting to issue a delete to a table that contains no rows, C++ assertions are thrown from the driver (C++ runtime libarary). Below is the delete I'm trying to execute - currently I have to use a guard query.\n\n```\n sql.query(conn, 'SELECT COUNT(*) as [count] FROM foo', function (err, result) {\n if (!err && result[0].count > 0) {\n sql.query(conn, 'DELETE FROM foo', function (err) {\n if (callback) {\n callback(err);\n }\n });\n } else {\n callback();\n }\n });\n```\n","author":{"url":"https://github.com/mathewc","@type":"Person","name":"mathewc"},"datePublished":"2012-04-03T22:13:01Z","url":"https://github.com/Azure/node-sqlserver/issues/5"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:85d810da-315f-877d-3c78-18315d462b22 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9AE2:34FC0A:BEACB2:1047905:6AFB55D3 |
| html-safe-nonce | a38161f16cf9bfc1226d6afc33c2145ef6edd82733b556c38222cab4549d28dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUUyOjM0RkMwQTpCRUFDQjI6MTA0NzkwNTo2QUZCNTVEMyIsInZpc2l0b3JfaWQiOiIyNjg1NTkzNzM3MTY5MTYzNzMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2e62d071cf7766bc500be67373c90c8d472156ece061afce7b7464c856c2b0bf |
| hovercard-subject-tag | issue:3959747 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Azure/node-sqlserver/5/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ad108fc0e7c24ddc2dceccb06c7db9ea67b78483576bc56117dad779bc916c6/Azure/node-sqlserver/issues/5 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ad108fc0e7c24ddc2dceccb06c7db9ea67b78483576bc56117dad779bc916c6/Azure/node-sqlserver/issues/5 |
| og:image:alt | When attempting to issue a delete to a table that contains no rows, C++ assertions are thrown from the driver (C++ runtime libarary). Below is the delete I'm trying to execute - currently I have to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mathewc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| turbo-cache-control | no-preview |
| go-import | github.com/Azure/node-sqlserver git https://github.com/Azure/node-sqlserver.git |
| octolytics-dimension-user_id | 6844498 |
| octolytics-dimension-user_login | Azure |
| octolytics-dimension-repository_id | 3603910 |
| octolytics-dimension-repository_nwo | Azure/node-sqlserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3603910 |
| octolytics-dimension-repository_network_root_nwo | Azure/node-sqlserver |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width