{"action":"opened","issue":{"url":"https://api.github.com/repos/pingcap/tidb/issues/8133","repository_url":"https://api.github.com/repos/pingcap/tidb","labels_url":"https://api.github.com/repos/pingcap/tidb/issues/8133/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/8133/comments","events_url":"https://api.github.com/repos/pingcap/tidb/issues/8133/events","html_url":"https://github.com/pingcap/tidb/issues/8133","id":376252869,"node_id":"MDU6SXNzdWUzNzYyNTI4Njk=","number":8133,"title":"Make `max_prepared_stmt_count` work","user":{"login":"winoros","id":7846227,"node_id":"MDQ6VXNlcjc4NDYyMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7846227?v=4","gravatar_id":"","url":"https://api.github.com/users/winoros","html_url":"https://github.com/winoros","followers_url":"https://api.github.com/users/winoros/followers","following_url":"https://api.github.com/users/winoros/following{/other_user}","gists_url":"https://api.github.com/users/winoros/gists{/gist_id}","starred_url":"https://api.github.com/users/winoros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winoros/subscriptions","organizations_url":"https://api.github.com/users/winoros/orgs","repos_url":"https://api.github.com/users/winoros/repos","events_url":"https://api.github.com/users/winoros/events{/privacy}","received_events_url":"https://api.github.com/users/winoros/received_events","type":"User","site_admin":false},"labels":[{"id":586074134,"node_id":"MDU6TGFiZWw1ODYwNzQxMzQ=","url":"https://api.github.com/repos/pingcap/tidb/labels/for%20new%20contributors","name":"for new contributors","color":"c2e0c6","default":false},{"id":256872089,"node_id":"MDU6TGFiZWwyNTY4NzIwODk=","url":"https://api.github.com/repos/pingcap/tidb/labels/help%20wanted","name":"help wanted","color":"159818","default":true},{"id":541179553,"node_id":"MDU6TGFiZWw1NDExNzk1NTM=","url":"https://api.github.com/repos/pingcap/tidb/labels/type/compatibility","name":"type/compatibility","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T04:49:23Z","updated_at":"2018-11-01T04:49:23Z","closed_at":null,"author_association":"MEMBER","body":"## Feature Request\r\n\r\n**Is your feature request related to a problem? Please describe:**\r\n<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->\r\n\r\n`max_prepared_stmt_count` is a variable ported from mysql.\r\n\r\nIt controls that how many PREPARE statement tidb can store at one time. It can be used in environments where there is the potential for denial-of-service attacks based on running the server out of memory by preparing huge numbers of statements.\r\n\r\nIt can disable the prepare statement if we set it to zero.\r\n\r\nCurrently we have ported it. But not actually make it work.\r\n\r\n**Teachability, Documentation, Adoption, Migration Strategy:**\r\n<!-- If you can, explain some scenarios how users might use this, situations it would be helpful in. Any API designs, mockups, or diagrams are also helpful. -->\r\n\r\nhttps://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_prepared_stmt_count"}}
{"actor":{"display_login":"winoros"}}